index2coor | R Documentation |
coor2index
)convert continuous index to chromosome coordinates (reverse of
coor2index
)
index2coor(
features,
chrS,
chrMap,
cols = c("start", "end", "coor"),
chrCol = "chr",
strandCol = "strand",
relCol,
strands = c(1, -1)
)
features |
a table of chromosome features that must contain
the chromosome number (option |
chrS |
the chromosome index, indicating the start position of each chromosome in the continuous index, derived from chromosome length information |
chrMap |
a vector of chromosome names, in the same order as
|
cols |
names of the columns giving coordinates that will be mapped to continuous index |
chrCol |
name of the column that gives the chromosome number |
strandCol |
name of the column that gives forward/reverse strand information |
relCol |
relative position mapping left/right -> upstream/downstream, depending on strand |
strands |
forward/reverse strand indicators |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.