filter_taxon: Filter lines from a kraken report result based on the...

View source: R/datainput-read_report.R

filter_taxonR Documentation

Filter lines from a kraken report result based on the taxonomy name

Description

It updates the read_stay counts, and removes any children below the entry, and any parent entries that have no "cladeReads" that stay

Usage

filter_taxon(report, filter_taxon, rm_clade = TRUE, do_message = FALSE)

Arguments

report

Report data.frame.

filter_taxon

Name of entry to remove.

rm_clade

If TRUE, remove all cladeReads at and below clade, otherwise just set the number of cladeReads that stay at taxon to zero.

do_message

If TRUE, report how many rows and cladeReads were deleted.

Value

filtered report


fbreitwieser/pavian documentation built on Sept. 23, 2024, 11:03 p.m.