interVP: Interactive Volcano Plot

View source: R/Interactive_Plots.R

interVPR Documentation

Interactive Volcano Plot

Description

This function creates an interactive volcano plot from a DESeq2 results object.

Usage

interVP(res, title = "Volcano Plot", p = NULL, pval = NULL, FC = 1)

Arguments

res

A DESeq2 results object obtained from 'results(dds)' or a data.frame with the same column name values as a DESeq2 results object and rownames as genes

title

A character vector indicating the title of the plot

p

A number indicating the threshold for 'padj' where padj<p are significant genes. Should not be used if using 'pval'

pval

A number indicating the threshold for 'pvalue' where pvalue<pval are significant genes. Should not be used if using 'p'

FC

A number indicating the log2FoldChange threshold where abs(log2FC)>FC are significant genes. Default is 1 - can be 0 if not using fold-change threshold.

Value

An interactive volcano plot with x-axis indicating log2FoldChange and y-axis indicating significance Blue dots are downregulated genes, red dots are upregulated genes.


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.