Description Usage Arguments Value Note Author(s) See Also Examples
This function returns a list showing taxa at the given taxonomic rank that present in a pre-defined percent of samples in each level of a given metadata category.
1 2 3 |
data |
a list of OTU tables or taxonomy abundance matrices. |
is.OTU |
logical. If |
rank |
the taxonomic rank of classification (see ?RAM.rank.formatting for formatting details). |
drop.unclassified |
logical, whether or not exclude unclassified groups.
See also |
meta |
the metadata table to be analyzed. |
meta.factor |
the metadata qualitative variable |
percent |
the percent of samples in each level of the given metadata variable |
core.Taxa
returns a list containing taxa at a given rank
that present in a pre-defined percent of samples in each level
of a given metadata category. The outputs describe the following
information for each level of a given metadata variable:
1) core taxa; 2) percent of core taxa sequences vs. total
sequences in each levels of the given metadata variable. The
last item in the list show the same information of taxa that in
all levels.
The taxa are determined to be absent/present using the "pa"
method from the function decostand
.
Wen Chen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(ITS1, meta)
# taxa shared by 50 percent samples of each city
core <- core.Taxa(data=list(ITS1=ITS1), is.OTU=TRUE, meta=meta,
rank="g", meta.factor="City", percent=0.5)
## Not run:
data(ITS1, ITS2, meta)
core <- core.Taxa(data=list(ITS1=ITS1, ITS2=ITS2), is.OTU=TRUE,
meta=meta, rank="g", meta.factor="City",
percent=0.7)
# use taxonomy abundance matrix
g1<-tax.abund(ITS1, rank="g")
core <- core.Taxa(data=list(genus_ITS1=g1), is.OTU=FALSE,
meta=meta, rank="g", meta.factor="City",
percent=0.9)
## End(Not run)
|
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-3
Loading required package: ggplot2
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
Warning message:
In core.Taxa(data = list(genus_ITS1 = g1), is.OTU = FALSE, meta = meta, :
data are not otu tables, will ignore the rank provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.