kraken2_read_table | R Documentation |
kraken2
outputReads the raw output table from kraken2
.
kraken2_read_table(krk.file, filter = TRUE)
krk.file |
name of file with raw |
filter. |
returns only classified reads if TRUE. |
The raw output from kraken2
is a huge table with one row for each
read classified.
Note that in most cases only the report, produced by running kraken2
with
the --report
otpion, is what you want. Then use the function
kraken2_read_report
.
A data.frame with the kraken2 results for each read. It has the columns:
status. C for classified reads, U for unclassified (if filter = TRUE
only C).
read_id. Short text identifying each read.
name. Name of taxon, if classified.
length. Length of read.
tax_count. The k-mer counts for the read.
Lars Snipen.
kraken2_read_report
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.