Description Usage Arguments Details Value Author(s) Examples
This function will take a data set and format it by removing low count trees, and/or normalizing counts.
1 | formatData(data, countThreshold = 1000, normalizeThreshold = 10000)
|
data |
A data frame in which each column contains the rdp read counts for every taxa given in the row names. |
countThreshold |
A cut off threshold for reads - all trees with fewer than this number of reads will be removed. |
normalizeThreshold |
All the trees that are not removed will be normalized to this many reads. |
When removing trees with too few reads, the cuts off is based on the value of the top level node, not the sum of all the reads in a sample.
A new data set that is trimmed and standardized based on the specified parameters. The new data is also reordered alphabetically according to row labels.
Patricio S. La Rosa, Elena Deych, Berkley Shands, William D. Shannon
1 2 3 | data(saliva)
saliva2 <- formatData(saliva, 1000, 10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.