read_bracken | R Documentation |
The table will be converted to long form (sample ~ abundance). Only "_frac" or "_num" columns will be kept (see "keep_frac"). Taxonomy will be split into separate levels (see "tax_levs"). tidytable (w/ data.table) used to speed the process up.
read_bracken( infile, nrows = Inf, keep_frac = TRUE, tax_levs = c("Domain", "Phylum", "Class", "Order", "Family", "Genus", "Species"), nThread = 4, ... )
infile |
Path to bracken table file |
nrows |
Number of table rows to read. If Inf, all lines will be read. |
keep_frac |
If TRUE, keep all columns ending in "_frac"; otherwise, keep "_num" columns. |
tax_levs |
Taxonomic levels to separate the taxonomy column into. |
... |
Params passed to fread() |
data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.