View source: R/PermulationFuncs.R
getPermsBinaryFudged | R Documentation |
Calculates permuted correlation and enrichment statistics for binary phenotype (does not enforce matching structure of sister species, but maintains internal & tips foreground counts within a fudge of the original tree)
getPermsBinaryFudged(
fgdspecs,
RERs,
trees,
useSpecies,
ntrees,
root,
fudge = 5,
cors,
phenvec
)
fgdspecs |
A vector containing the tip foreground species |
RERs |
An RER matrix calculated using |
trees |
treesObj from |
useSpecies |
A vector of species to include |
ntrees |
An integer number of permulations |
root |
The species to root the tree on |
fudge |
The number up to which the permulated tree can differ in total foreground species |
cors |
The gene correlation results from |
phenvec |
A named vector of the phenotype |
A list object with enrichment statistics, correlation p-val, rho, and correlation effect size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.