View source: R/Interactive_Plots.R
interVP | R Documentation |
This function creates an interactive volcano plot from a DESeq2 results object.
interVP(res, title = "Volcano Plot", p = NULL, pval = NULL, FC = 1)
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. |
An interactive volcano plot with x-axis indicating log2FoldChange and y-axis indicating significance Blue dots are downregulated genes, red dots are upregulated genes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.