upsample_counts | R Documentation |
Upsample a counts table to a higher taxon level
upsample_counts(counts_table, tax_table, higher_level)
counts_table |
A organism x sample data frame of counts |
tax_table |
A organism x taxlev data frame of labels |
higher_level |
Higher taxon level to upsample to |
A organism x sample data frame of counts
toy_data <- readRDS(system.file("extdata/toy_data.rds",
package = "animalcules"))
tax_table <- toy_data$tax_table
sam_table <- toy_data$sam_table
counts_table <- toy_data$counts_table
counts_table <- upsample_counts(counts_table, tax_table, "phylum")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.