Description Usage Arguments Value Examples
bootstrap by resampling gene (gene, transcript, exon, etc..)
1 2 3 4 |
phy |
an object of class |
x |
an exprssion level table: column corresponds to median expression value of all biological samples within one taxa_subtaxa group; row corresponds to othologous genes |
outgroup |
a vector of mode numeric or character specifying the outgroup |
method |
specifying which distance method to be used to estimate expression phylogeny in bootstrapping. |
B |
the number of bootstrap replicates. |
block |
the number of columns in x that will be resampled together (see details). |
trees |
a logical specifying whether to return the bootstrapped trees (FALSE by default). |
quiet |
a logical specifying whether to print more information on the screen while performing bootstrapping(FALSE by default). |
rooted |
if "phy" is a rooted tree, a character of the root node's label when constructing "phy"; if "phy" is unrooted tree, NULL (NULL by default). |
jumble |
a logical value. By default, the rows of x are randomized to avoid artificially too large bootstrap values associated with very short branches. |
mc.cores |
the number of cores (CPUs) to be used (passed to parallel). |
similar to boot.phylo
in ape
, boot.exphy
returns a numeric vector
which i-th element is the number associated to the i-th node of phy
.
If trees = TRUE, boot.exphy
returns a list whose first element (named "BP") is like before,
and the second element("trees") is a list with the bootstrapped trees.
1 2 3 4 5 6 7 8 9 10 11 | library('ape')
data(tetraExp)
dismat <- expdist(tetraExp, taxa = "all",
subtaxa = "Brain",
method = "pea")
tr <- root(NJ(dismat), "Chicken_Brain", resolve.root = TRUE)
plot(tr)
exp_table <- exptabTE(tetraExp, taxa = "all", subtaxa = "Brain")
bs <- boot.exphy(phy = tr, x = exp_table, method = "sou",
B = 100, outgroup = "Chicken_Brain")
nodelabels(bs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.