parallel_plot: Title Parallel interaction plot One-station function for...

View source: R/parallel_plot.R

parallel_plotR Documentation

Title Parallel interaction plot One-station function for parallel interaction plot

Description

Title Parallel interaction plot One-station function for parallel interaction plot

Usage

parallel_plot(GENE1_anno, GENE2_anno, R1, R2, GENE1_COLOR = "#deb210",
  GENE2_COLOR = "#668ed1", genome = "hg38", 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

character, In R, colors can be specified either by name e.g col = 'red' or as a hexadecimal RGB triplet

GENE2_COLOR

character.In R, colors can be specified either by name e.g col = 'red' or as a hexadecimal RGB triplet

Value

ggplot object

Examples

data(GENE1_anno,GENE2_anno,R1,R2)
para <- parallel_plot(GENE1_anno,GENE2_anno,R1,R2)


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