Description Usage Arguments Details Examples
Build a classification model to classify or predict the certain type of samples (e.g. land types).
1 2 3 4 5 | ctreeClassification(comm, attr.data, group.id, levels = c(), ...)
lassoClassification(relative.abund, attr.data, group.id, percent = 0.01,
alpha = 1, family = "multinomial", nlambda = 500,
coef.s = "lambda.min", return.df = TRUE, ...)
|
comm |
A community matrix, which can be either abundance or relative abundance. |
group.id |
The column name in |
levels |
Levels to order data by |
relative.abund, attr.data, percent |
Refer to |
alpha, family, nlambda, ... |
Refer to |
coef.s |
Which coeffient to return by |
Create a conditional inference tree ctree
for the classification of samples.
Ctree uses a significance test procedure in order to select variables
instead of selecting the variable that maximizes an information measure (e.g. Gini coefficient).
http://stats.stackexchange.com/questions/12140/conditional-inference-trees-vs-traditional-decision-trees.
Build a classification model using lasso cv.glmnet
,
given relative abundance of taxonomic compositions (e.g. families) in the samples,
and also to find which taxonomic compositions are important.
1 2 3 4 | model <- ctreeClassification(comm, attr.data=env, group.id="land.use")
plot(model$ctree)
cvfit <- lassoClassification(relative.abund, attr.data=env, group.id="land.use")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.