add_resistance_info: Resistance Genotyping

Description Usage Arguments Value

View source: R/add_resistance_info.R

Description

Calls resistance for variants provided, joins the variant and resistance tables by mutational change columns. <GENE_A123B>

Usage

1
2
3
4
5
6
add_resistance_info(
  f.dat,
  resistance_table,
  all_muts = FALSE,
  anecdotal = FALSE
)

Arguments

f.dat

intermediate-annotated data.frame

resistance_table

the current version of the resistance db in csv format

all_muts

when TRUE all variants passed are returned even if they conferred no resistance

anecdotal

include anectodat database entries in returned results?

Value

data.frame of resistance variants


ojcharles/hsvdrg documentation built on Jan. 19, 2021, 2:02 p.m.