plotMultipleRPKM: Plots multiple box and whisker diagrams of total RPKM between...

Description Usage Arguments Value Examples

View source: R/boxplotsRPKM.R

Description

Plots multiple box and whisker diagrams of total RPKM between paired sample types for every Location

Usage

1
plotMultipleRPKM(df_map_pairs)

Arguments

df_map_pairs

A dataframe of paired sample types with a column named group i.e. saliva vs. stool

Value

A list of box and whisker ggplot objects.

Examples

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)

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