plotProfile {MOSim} | R Documentation |
Generate a plot of a feature's profile for one or two omics.
plotProfile(simulation, omics, featureIDS, drawReps = FALSE, groups = NULL)
simulation |
A MOSimulation object |
omics |
Character vector of the omics to simulate. |
featureIDS |
List containing the feature to show per omic. Must have the omics as the list names and the features as values. |
drawReps |
Logical to enable/disable the representation of the replicates inside the plot. |
groups |
Character vector indicating the groups to plot in the form "GroupX" (i.e. Group1) |
A ggplot2 object.
omic_list <- c("RNA-seq", "miRNA-seq") rnaseq_simulation <- mosim(omics = omic_list) plotProfile(rnaseq_simulation, omics = c("RNA-seq", "miRNA-seq"), featureIDS = list("RNA-seq"="ENSMUSG00000007682", "miRNA-seq"="mmu-miR-320-3p") )