Learn R Programming

relcircle (version 1.0)

relacircle: Draw Regulatory Relationships Between Genes

Description

Connect relevant sites and label their relationships.

Usage

relacircle(table, type1 = FALSE, type2 = FALSE, line.col = FALSE,
pch = 1, pch.col = "blue", lty = FALSE)

Value

return the graphic.

Arguments

table

Relationship table, needs to include "rs","rs.CHR","rs.gene","rs.POS","cg","cg.CHR","cg.gene","cg.POS".

type1

Classification of corresponding relationships, displayed by different colors, optional, default gray.

type2

The second classification is displayed according to different line types, which can be left blank and defaults to solid lines.

line.col

The color, vector, and length of the line connecting the points need to be consistent with the number of types in type1. If type1 is not set, enter one, and default to gray.

pch

The type of annotation site on the chromosome, default to a hollow circle.

pch.col

The color of the upper chromosomal site, default to blue.

lty

The type, array, and length of the line connecting the points need to be consistent with the number of types in type2. If type2 is not set, enter one. The default is a solid line.

Author

Ruilin Li

Details

Relationship table, needs to include "rs","rs.CHR","rs.gene","rs.POS","cg","cg.CHR","cg.gene","cg.POS".

References

2016 tutorial

See Also

Examples

Run this code
data(sampledata)
relacircle(sampledata)

Run the code above in your browser using DataLab