plotVolcano: Plot Volcano plots of differential analysis

Description Usage Arguments Value Examples

View source: R/differentialAnalysis.R

Description

Plot Volcano plots of differential analysis

Usage

1
plotVolcano(Location_results, df_map, title, class_colours, label_size)

Arguments

Location_results

A dataframe of DESeq2 results for one Location

df_map

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

title

A string of the Location name for title of volcano plot

Value

A ggplot2 object of a volcano plot

Examples

1
2
3
df_map <- readMappingData("/home/vicky/Documents/CHMI/Resistome-paper/resistomeAnalysis/db/MAPPING_DATA/nonsubsampled_merged.csv", without_US_duplicates = TRUE)
output_list <- runDESeq2(df_map, "US", c("stool", "dorsum of tongue"))
g <- plotVolcano(output_list$results, df_map, "stool vs. saliva", "China")

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