bootstrap_percentage: Bootstraps the samples and recalculates proportion of samples...

Description Usage Arguments Value

View source: R/getProportion.R

Description

Bootstraps the samples and recalculates proportion of samples containing a property

Usage

1
bootstrap_percentage(df_map, level = "Drug.Class", B)

Arguments

df_map

A dataframe of combined non-subsampled or subsampled mapping data and metadata

level

A string of a column name e.g. Drug.Class

B

A numerical value of the number of types to sample in bootstrapping

Value

A dataframe of proportions of samples for each bootstrap iteration


blue-moon22/resistomeAnalysis documentation built on Jan. 17, 2020, 4:15 a.m.