stats.tt: Create statistics of Taxon table and reduces to target taxa

View source: R/stats.tt.r

stats.ttR Documentation

Create statistics of Taxon table and reduces to target taxa

Description

As input takes a taxon table and some vectors with names of contaminants and non-target taxa

Usage

stats.tt(x, reads, by, cont, non_target)

Arguments

x

A taxon table with all its colums

reads

The subset of colums containing the reads

by

The column containing the grouping names

cont

A vector of contaminants taxon names

non_target

A vector of non-target taxon names

Details

TO be ...

Value

Table with summary statistics, the vectors of contanimants, non-target and target taxa A reduced taxon table containing only target taxa

Author(s)

Pedro Martinez Arbizu

See Also

match2table

Examples

st.mf <- stats.tt(mf,mf[,9:27],mf$Group,cont,notbemet)


pmartinezarbizu/dada2pp documentation built on Feb. 7, 2024, 7:01 a.m.