View source: R/PhyloRegression.R
PhyloRegression | R Documentation |
PhyloFactor internal function to prep, find and summarize the best ILR coordinate
PhyloRegression(TransformedData, X, frmla, Grps = NULL,
contrast.fcn = NULL, choice, treeList = NULL, cl, totalvar = NULL,
ix_cl, treetips = NULL, grpsizes = NULL, tree_map = NULL,
nms = NULL, choice.fcn, method = "glm", ...)
TransformedData |
Transformed data matrix whose rows are species and columns are samples. |
X |
independent variables for input into glm. |
frmla |
Formula for input into glm by lapply(Y,FUN = pglm,x=xx,frmla=frmla,choice,...). |
Grps |
Groups - a list whose elements are two-element lists containing the groups and their compliments for amalgamation into ILR coordinates |
contrast.fcn |
Function taking as input |
choice |
Choice function for determining the group maximizing the objective function. Currently the only allowable inputs are 'var' - minimize residual varaince - and 'F' - minimize test-statistic from anova. |
treeList |
List of trees formed by phylofactorization and cutting trees along factored edges. |
cl |
|
totalvar |
Total variance of dataset. |
ix_cl |
Cluster split of nodes in treeList |
treetips |
Number of tips in treeList for quickly identifying whether nodes correspond to a root |
grpsizes |
Number of nodes in each tree of treeList |
tree_map |
Cumulative number of nodes in trees of treeList - allows rapid mapping of nodes in ix_cl to appropriate tree in treeList. |
nms |
rownames of TransformedData, allowing reliable mapping of rows of data to tree. |
choice.fcn |
optional customized choice function to choose 'best' edge; see |
method |
See |
... |
optional input arguments for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.