relacircle {relcircle}R Documentation

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)

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.

Details

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

Value

return the graphic.

Note

return the graphic.

Author(s)

Ruilin Li

References

2016 tutorial

See Also

plot

Examples

data(sampledata)
relacircle(sampledata)

[Package relcircle version 1.0 Index]