View source: R/plotCoefficients.R
plotCoefficients | R Documentation |
plotCoeficients
plot coefficients of a gene given a DESeqDataSet (DESeq2 > v1.16)
plotCoefficients(dds, geneName, legend = TRUE)
dds |
DESeq2 object (DESeqDataSet) |
geneName |
name of the gene to be plotted, needs to be in the rownames of dds |
legend |
(TRUE/FALSE, default TRUE), whether or not to plot the legend inside the plot. the position is chosen automatically based on the last coefficient to be plotted. |
returns nothing
dds <- DESeq2::makeExampleDESeqDataSet()
dds = DESeq2::DESeq(dds)
plotCoefficients(dds, "gene930")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.