plotInteractions: Plots a contact map of interactions of each sample of an RNA...

plotInteractionsR Documentation

Plots a contact map of interactions of each sample of an RNA (interactor) on the RNA of interest

Description

Plots a contact map of interactions of each sample of an RNA (interactor) on the RNA of interest

Usage

plotInteractions(
  cds,
  rna,
  interactor,
  directory = 0,
  a = 1,
  b = 50,
  c = 1,
  d = 50,
  h = 3
)

Arguments

cds

A rnaCrosslinkDataSet object

rna

The RNA of interest

interactor

The RNA to show interactions with

directory

An output directory for the heatmap (use 0 for no output)

a

To make a subsetted plot (left value on x)

b

To make a subsetted plot (right value on x) (use 'max' to plot the whole RNA strand length)

c

To make a subsetted plot (left value on y)

d

To make a subsetted plot (right value on y) (use 'max' to plot the whole RNA strand length)

h

Height of image (inches) (only useful if plotting)

Value

A heatmap of interactions of the RNA (interactor) on the RNA of interest

Examples

cds = makeExamplernaCrosslinkDataSet()

plotInteractions(cds,
            rna = "transcript1",
            interactor = "transcript2",
            b = "max",
            d = "max")

JLP-BioInf/comradesOO documentation built on April 28, 2024, 4:22 a.m.