read_report2: Read kraken or centrifuge-style report

Description Usage Arguments Value

View source: R/datainput-read_report.R

Description

Read kraken or centrifuge-style report

Usage

1
2
3
read_report2(myfile, collapse = TRUE, keep_taxRanks = c("D", "K", "P",
  "C", "O", "F", "G", "S"), min.depth = 0, filter_taxon = NULL,
  has_header = NULL, add_taxRank_columns = FALSE)

Arguments

myfile

kraken report file

collapse

should the results be collapsed to only those taxRanks specified in keep_taxRanks?

keep_taxRanks

taxRanks to keep when collapse is TRUE

min.depth

minimum depth

filter_taxon

filter certain taxon names

has_header

if the kraken report has a header or not

add_taxRank_columns

if TRUE, for each taxRank columns are added

Value

report data.frame


phac-nml/pavian documentation built on Aug. 20, 2019, 5:54 a.m.