added aldex.plot function#24
Open
ggloor wants to merge 7 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tldr:
altered functions or files:
cohensd() - now reports expected values for cohensd, estimate, pooled SD, overlap
ALDEx3-Quickstart - incorporates a plotting section
Namespace to support this
Added:
aldex.plot() function
Explanation:
I have added a simple plotting function for ALDEx3. It now captures the full functionality of ALDEx2 plotting and the old aldex.effect() function.
It can generate volcano, effect, MA (Bland-Altmann) and waterfall plots from the output of aldex(). Many graphical parameters can be altered for the plots
I have tested it on several different pairwise comparisons, and plan to expand to include the ability to plot contrasts from more complex linear models when I have the time
The function uses the aldex.summary() and an updated cohensd() function internally to obtain some information, and pulls other data from the raw output.
I also included a section in the vignette on how to use the plots and their parameters.
All documentation is via roxygen2
This version builds cleanly via devtools::check(vignettes=F).
The vignettes do not build, but they do compile cleanly with rmarkdown::render('ALDEx3_quickstart.Rmd').
rhub fails at the vignette building stage, but is clean otherwise
If you don't like the changes, I can write a different version of cohensd to keep your version intact