is_susceptible: Calculate the susceptiblity vector from taxonomic lineage...

Description Usage Arguments Value

View source: R/abx_index.R

Description

Calculate the susceptiblity vector from taxonomic lineage based on the given bacterial phenotype

Usage

1
is_susceptible(taxa, idx)

Arguments

taxa

The lineage name of taxonomic ranks

idx

The bacterial phenotype to calculate the susceptibility

Value

A vector of 0 and 1, where 0 is resistant and 1 is susceptible


tuv292/abx_idx documentation built on Jan. 18, 2021, 7:05 a.m.