plotProfile | 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_options <- c(omicSim("miRNA-seq", totalFeatures = 2500))
rnaseq_simulation <- mosim(omics = omic_list,
omicsOptions = rnaseq_options)
plotProfile(rnaseq_simulation,
omics = c("RNA-seq", "miRNA-seq"),
featureIDS = list("RNA-seq"="ENSMUSG00000007682", "miRNA-seq"="mmu-miR-320-3p")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.