Description Usage Arguments Value Author(s) References Examples
Arguments:
1 2 | Bagged.RDA.Feature.Selection(X, Y, sig.thresh = 0.1, nboot = 1000,
verbose = T)
|
X |
a matrix, samples on columns, variables (bacteria) on rows. |
Y |
vector with names(Y)=rownames(X), for example |
sig.thresh |
signal p-value threshold, default 0.1 |
nboot |
Number of bootstrap iterations |
verbose |
verbose Returns: |
List with items: loadings: bagged loadings scores: bagged scores significance: significances of X variables group.centers: group centers on latent space bootstrapped: bootstrapped loadings data: data set with non-significant components dropped out.
Contact: Jarkko Salojarvi microbiome-admin@googlegroups.com
See citation("microbiome")
1 2 3 4 5 6 7 | #
# library(microbiome)
# data(peerj32)
# x <- t(peerj32$microbes)
# y <- factor(peerj32$meta$time); names(y) <- rownames(peerj32$meta)
# Bag.res <- Bagged.RDA.Feature.Selection(x, y, sig.thresh=0.05, nboot=100)
# PlotBaggedRDA(Bag.res, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.