Title: | Draw Regulatory Relationships Between Genes |
---|---|
Description: | According to the order of the loci on the chromosome, the loci can be connected according to the interrelationship between them and classified according to different locus types. |
Authors: | Ruilin Li [aut, cre] |
Maintainer: | Ruilin Li <[email protected]> |
License: | GPL (>= 3) |
Version: | 1.0 |
Built: | 2025-03-10 02:31:58 UTC |
Source: | https://github.com/cran/relcircle |
Connect relevant sites and label their relationships.
Relationship table, needs to include "rs","rs.CHR","rs.gene","rs.POS","cg","cg.CHR","cg.gene","cg.POS".
Ruilin Li
Maintainer:Ruilin Li<[email protected]>
2016 tutorial
data(sampledata) relacircle(sampledata)
data(sampledata) relacircle(sampledata)
Connect relevant sites and label their relationships.
relacircle(table, type1 = FALSE, type2 = FALSE, line.col = FALSE, pch = 1, pch.col = "blue", lty = FALSE)
relacircle(table, type1 = FALSE, type2 = FALSE, line.col = FALSE, pch = 1, pch.col = "blue", lty = FALSE)
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. |
Relationship table, needs to include "rs","rs.CHR","rs.gene","rs.POS","cg","cg.CHR","cg.gene","cg.POS".
return the graphic.
return the graphic.
Ruilin Li
2016 tutorial
data(sampledata) relacircle(sampledata)
data(sampledata) relacircle(sampledata)
An example for the data input.
data("sampledata")
data("sampledata")
A data frame with 74 observations on the following 10 variables.
sig_type
a character vector
qtl_type
a character vector
cg
a character vector
rs
a character vector
rs.CHR
a character vector
rs.POS
a numeric vector
rs.gene
a character vector
cg.CHR
a numeric vector
cg.POS
a numeric vector
cg.gene
a character vector
The input data must contain cols that sampledata has
nothing
2016 tutorial
data(sampledata) ## maybe str(sampledata) ; plot(sampledata) ...
data(sampledata) ## maybe str(sampledata) ; plot(sampledata) ...