Raw AMR files plus metadata to phyloseq object
Source:R/amr_raw_to_phyloseq.R
amr_raw_to_phyloseq.Rd
given directory and metadata make phyloseq object phyloseq package required.
Arguments
- path.to.amr.files
path to data of raw csv files from ARMA CARD analysis
- metdata
data.table of metadata with "arma_filename" and "arma_barcode" columns required
- coveragenumber
Minimum percentage of a gene that must be covered. Range from 0 to 99, default = 80
- keepSNP
TRUE or FALSE: whether to keep AMR gene conferred by one SNP change, default = FALSE