plotProfile {MOSim} | R Documentation

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

### Description

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

### Usage

    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

    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")
    )

[Package MOSim version 1.8.0 Index]