alignData | R Documentation |
align genome data at specified coordinates (e.g. TSS)
alignData(
coors,
data,
dst = 500,
chrS,
coorCols = c(chr = "chr", position = "coor", strand = "strand"),
reverse = c("-", -1)
)
coors |
genome positions (chromosome, coordinate, strand) at which data will be aligned (TODO: allow start/end coors and set NA if beyond) |
data |
genome data to be aligned; NOTE, that currently this
is required to be fully expanded matrix covering each chromosome position,
i.e. |
dst |
upstream/downstream length to be aligned |
chrS |
the chromosome index, indicating the start position
of each chromosome in |
coorCols |
ordered string vector providing the column names
of coordinate columns to be used; must be of length 3 and provide in
order: chromosome number (refering to argument |
reverse |
a vector of possible reverse strand indicators, all other values in the strand column will be taken as forward strand! |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.