normalize: Normalize metannotate data

Description Usage Arguments Value

View source: R/normalize.R

Description

Double-normlizes metannotate data by HMM length and a single-copy gene marker. The input data has to be pre-mapped and collapsed by taxonomy

Usage

1
normalize(metannotate_data, normalizing_HMM = "rpoB")

Arguments

metannotate_data

Tibble of taxonomy-collapsed and mapped metannotate data - see collapse_by_taxon

normalizing_HMM

Character vector (length 1) giving the plotting name of an HMM.Family in your table that you want to normalize all genes within each sample to. This should be a reliable single-copy taxonomic marker gene, e.g., rpoB, dnaK, and so on.

Value

List of two:


MetAnnotate/metannoviz documentation built on Aug. 2, 2020, 3:12 p.m.