calc_index: Calculate the index based on the susceptible vector

Description Usage Arguments Value

View source: R/abx_index.R

Description

Calculate the index based on the susceptible vector

Usage

1
calc_index(sample_vector, suscept_vector)

Arguments

sample_vector

The vector of taxonomic abundances for a sample

suscept_vector

The vector of how susceptible a species is to the specified antibiotics

Value

The calculated antibiotics index for a sample


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