pairend_inter: Title pair-end inter skeleton

View source: R/pairend_plot.R

pairend_interR Documentation

Title pair-end inter skeleton

Description

Title pair-end inter skeleton

Usage

pairend_inter(GENE1_anno, GENE2_anno, R1, R2, GENE1_COLOR = "#deb210",
  GENE2_COLOR = "#668ed1", xdrift = 0, ydrift = 0, VEXON = 10,
  genename1 = "", genename2 = "")

Arguments

GENE1_anno

Dataframe, a bed file format dataframe for gene1. each row represents an exon with chr, start, end.

GENE2_anno

Dataframe, a bed file format dataframe for gene2. each row represents an exon with chr, start, end.

R1

Dataframe, a bed file format dataframe for Read1 (first end) bed file.

R2

Dataframe, a bed file format dataframe for Read2 (second end) bed file.

GENE1_COLOR

String, with default "#deb210".

GENE2_COLOR

string, with default "#668ed1".

xdrift

numeric. x axis drift from 0.

ydrift

numeric. y axis drift from 0.

VEXON

numeric. verticle height of exon.

Value

pair-end inter skeleton, ggplot object

Examples

data(GENE1_anno,GENE2_anno,R1,R2)
pairend_skeleton <- pairend_inter(GENE1_anno,GENE2_anno,R1,R2)
ggplot()+pairend_skeleton@geom_pair

Irenexzwen/gginteract documentation built on Feb. 27, 2023, 3:51 p.m.