Description Usage Arguments Value Examples
View source: R/getProportion.R
Merges dataframes of proportion of samples containing a certain property and confidence intervals of proportions from bootstrapping samples
1 | joinProportionAndBootstrap(df_map, level = "Drug.Class", B = 100)
|
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 |
A dataframe of proportions and 95
1 2 | df_map <- readMappingData("/home/vicky/Documents/CHMI/Resistome-paper/resistomeAnalysis/db/MAPPING_DATA/nonsubsampled_merged.csv", without_US_duplicates = TRUE)
df_map_pb <- joinProportionAndBootstrap(df_map, "Drug.Class", "saliva")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.