phylolmFit | R Documentation |
This function applies lmFit
to the normalized data,
in order to take the phylogeny into account.
TODO: explain more.
phylolmFit(
object,
design = NULL,
phy,
col_species = NULL,
model = c("BM", "lambda", "OUfixedRoot", "OUrandomRoot", "delta"),
measurement_error = FALSE,
use_consensus = TRUE,
consensus_tree = NULL,
ddf_method = c("Satterthwaite", "Species", "Samples"),
REML = TRUE,
...
)
object |
A matrix data object containing normalized expression values, with rows corresponding to genes and columns to samples (species). |
design |
the design matrix of the experiment, with rows corresponding to samples and columns to coefficients to be estimated. Defaults to the unit vector (intercept). |
phy |
an object of class |
col_species |
a character vector with same length as columns in the expression matrix, specifying the species for the corresponding column. If left 'NULL', an automatic parsing of species names with sample ids is attempted. |
model |
the phylogenetic model used to correct for the phylogeny.
Must be one of "BM", "lambda", "OUfixedRoot", "OUrandomRoot" or "delta".
See |
measurement_error |
a logical value indicating whether there is measurement error.
Default to |
use_consensus |
If |
consensus_tree |
If not |
ddf_method |
the method for the computation of the degrees of freedom of the t statistics (before moderation).
Default to |
REML |
Use REML (default) or ML for estimating the parameters. |
... |
further parameters to be passed
to |
The default bounds on the phylogenetic parameters are the same as in
phylolm
, except for the alpha
parameter of the OU.
An object of class MArrayLM-class
,
with list components coefficients
, stdev.unscaled
,
sigma
and df.residual
.
These quantities take the phylogenetic model into account.
The object can be passed to eBayes
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.