parallel_inter: Title plot parallel interaction plot skeleton

View source: R/parallel_plot.R

parallel_interR Documentation

Title plot parallel interaction plot skeleton

Description

Title plot parallel interaction plot skeleton

Usage

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

Arguments

GENE1_anno

Dataframe, gene annotaion bed file. eg could be seen data(GENE1_anno)

GENE2_anno

Dataframe, gene annotaion bed file. eg could be seen data(GENE2_anno)

R1

Dataframe, Read1 annotation file. eg could be loaded with data(R1)

R2

Dataframe, Read2 annotation file. eg could be loaded with data(R2)

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.

Value

para object

Examples

data(GENE1_anno,GENE2_anno,R1,R2)
para <- parallel_inter(GENE1_anno,GENE2_anno,R1,R2)
ggplot() + para@geom_para

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