plotProfile: Generate a plot of a feature's profile for one or two omics.

Description Usage Arguments Value Examples

Description

Generate a plot of a feature's profile for one or two omics.

Usage

1
2
plotProfile(simulation, omics, featureIDS, drawReps = FALSE,
  groups = NULL)

Arguments

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)

Value

A ggplot2 object.

Examples

1
2
3
4
5
6
7
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")
)

MOSim documentation built on Nov. 8, 2020, 5:50 p.m.