Learn R Programming

DRIMSeq (version 1.0.2)

plotData: Plot data summary

Description

Plot data summary

Usage

plotData(x, ...)
"plotData"(x, out_dir = NULL)
"plotData"(x, out_dir = NULL)

Arguments

x
dmDSdata or dmSQTLdata object.
...
Other parameters that can be defined by methods using this generic.
out_dir
Character string that is used to save the plot in paste0(out_dir, plot_name, ".pdf") file. plot_name depends on type of a plot produced, for example, plot_name = "hist_features" for histogram with number of features per gene. If NULL, the plot is returned as ggplot object and can be further modified, for example, using theme().

Value

Plot a histogram of the number of features per gene. Additionally, for dmSQTLdata object, plot a histogram of the number of SNPs per gene and a histogram of the number of unique SNPs (blocks) per gene.

See Also

data_dmDSdata, data_dmSQTLdata, plotDispersion, plotFit, plotTest

Examples

Run this code
###################################
### Differential splicing analysis
###################################

d <- data_dmDSdata
plotData(d)



#############################
### sQTL analysis
#############################

d <- data_dmSQTLdata
plotData(d)

Run the code above in your browser using DataLab