pairend_plot | R Documentation |
Title Pairend interaction plot
pairend_plot(GENE1_anno, GENE2_anno, R1, R2, GENE1_COLOR = "#deb210", GENE2_COLOR = "#668ed1", genename1 = "", genename2 = "", xdrift = 0, ydrift = 0, VEXON = 10, genome = "hg38")
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, color of left gene. In R, colors can be specified either by name e.g col = "red" or as a hexadecimal RGB triplet |
GENE2_COLOR |
character, color of right gene. In R, colors can be specified either by name e.g col = "red" or as a hexadecimal RGB triplet |
xdrift |
numeric. x axis drift from 0. |
ydrift |
numeric. y axis drift from 0. |
VEXON |
numeric. verticle height of exon. |
genome |
String. Genome version eg."hg38","mm10","mm20". default "hg38" |
ggplot object of pairend interaction plot
data(GENE1_anno,GENE2_anno,R1,R2) pairend <- pairend_plot(GENE1_anno,GENE2_anno,R1,R2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.