Description Usage Arguments Value Examples
Plots multiple box and whisker diagrams of total RPKM between paired sample types for every Location
1 | plotMultipleRPKM(df_map_pairs)
|
df_map_pairs |
A dataframe of paired sample types with a column named group i.e. saliva vs. stool |
A list of box and whisker ggplot objects.
1 2 3 4 5 | df_map <- readMappingData("/home/vicky/Documents/CHMI/Resistome-paper/resistomeAnalysis/db/MAPPING_DATA/nonsubsampled_merged.csv", without_US_duplicates = TRUE)
pair_list <- list(c("stool", "dental"), c("stool", "saliva"), c("dental", "saliva"), c("stool", "dorsum of tongue"), c("stool", "buccal mucosa"), c("dorsum of tongue", "buccal mucosa"), c("dorsum of tongue", "dental"), c("buccal mucosa", "dental"))
df_map_pairs <- createPairedData(df_map, pair_list)
g <- plotMultipleRPKM(df_map_pairs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.