correlateWithContinuousPhenotype | R Documentation |
getAllResiduals
and a phenotype paths vector for a continuous phenotype made with char2Paths
Computes the association statistics between RER from getAllResiduals
and a phenotype paths vector for a continuous phenotype made with char2Paths
correlateWithContinuousPhenotype(
RERmat,
charP,
min.sp = 10,
winsorizeRER = 3,
winsorizetrait = 3
)
RERmat |
RER matrix returned by |
charP |
phenotype vector returned by |
min.sp |
Minimum number of species that must be present for a gene |
winsorizeRER |
Winsorize RER values before computing Pearson correlation. winsorizeRER=3 will set the 3 most extreme values at each end of each RER row to the the value closest to 0. |
winsorizetrait |
Winsorize trait values before computing Pearson correlation. winsorizetrait=3 will set the 3 most extreme values of the trait values to the value closest to 0. |
method |
Method used to compute correlations. Accepts the same arguments as |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.