correlateWithCategoricalPhenotype | R Documentation |
getAllResiduals
and a phenotype paths vector for a categorical phenotype made with char2PathsCategorical
Computes the association statistics between RER from getAllResiduals
and a phenotype paths vector for a categorical phenotype made with char2PathsCategorical
correlateWithCategoricalPhenotype(
RERmat,
charP,
min.sp = 10,
min.pos = 2,
method = "kw"
)
RERmat |
RER matrix returned by |
charP |
phenotype vector returned by |
min.sp |
Minimum number of species that must be present for a gene |
min.pos |
Minimum number of species that must be present in a category |
method |
Method used to compute correlations. Use "kw" to use Kruskil Wallis. Use "aov" to use ANOVA. It must be one of the strings "kw" or "aov". |
A list containing a list object with correlation values, p-values, and the number of data points used for each tree and a list of list objects for each pairwise test with correlation values and p-values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.