Description Usage Arguments Value Examples
Nonparametric Microbial Interdependence Test (NMIT) using phyloseq data structure
1 2 3 4 5 6 7 8 9 10 11 12 13 | NMIT_phyloseq(
ana,
id.var,
cov.var,
time.var,
error.rate = 0.1,
pct.threshold = 20,
method = "kendall",
dist.type = "F",
heatmap = T,
classify = F,
fill.na = 0
)
|
ana |
a phyloseq object with counts/relative abundance data |
id.var |
a vector of subjects. |
cov.var |
a vector of covariates. |
time.var |
a vector of time variable. |
error.rate |
error rate percentage, the default is 0.1 percent. |
pct.threshold |
occurance percentage threshold, the default percentage threshold is 20 percent. |
method |
an option of the correlation method ("pearson","kendall","spearman"). The default method is "kendall". |
dist.type |
character string, specifying the type of matrix norm to be computed. A character indicating the type of norm desired. The default is
|
heatmap |
a logical value indicating whether to draw heatmap. The default value is TRUE. |
classify |
a logical value indicating whether to draw classifier tree. The default value is FALSE. |
fill.na |
a number between 0 and 1 to fill the missing value. The default value is 0. |
This function returns typical, but limited, output for analysis of variance (general linear models).
aov.tab |
Typical AOV table showing sources of variation, degrees of freedom, sequential sums of squares, mean squares, F statistics, partial R-squared and P values, based on N permutations. |
coefficients |
matrix of coefficients of the linear model, with rows representing sources of variation and columns representing species; each column represents a fit of a specie abundance to the linear model. These are what you get when you fit one species to your predictors. These are NOT available if you supply the distance matrix in the formula, rather than the site x species matrix |
coef.sites |
matrix of coefficients of the linear model, with rows representing sources of variation and columns representing sites; each column represents a fit of a sites distances (from all other sites) to the linear model. These are what you get when you fit distances of one site to your predictors. |
f.perms |
an N by m matrix of the null F statistics for each source of variation based on N permutations of the data. The permutations can be inspected with permustats and its support functions. |
model.matrix |
The model.matrix for the right hand side of the formula. |
terms |
The terms component of the model. |
1 2 3 4 5 | #Not Run
#load("../microdata/laura.Rdata")
#ana <- subset_samples(genus.count , Experiment == "Trans1" & Time >= 2 & Time <=34 )
#map <- sample_data(ana)
#NMIT_phyloseq(ana, id.var = "Mouse", cov.var = "Group", time.var = "Time")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.