Description Usage Arguments Value Author(s) See Also
Remapping a track.table
object storing genomic segments to a specific CGH design consists of two steps :
The production of a map, which defines the coordinates of each segment by the indexes of the first and last CGH probes included in it (map2design
).
The update of the genomic coordinates of the original track, using the map and the design (applyMap
).
1 2 | map2design(track, design, minProbes = 1, quiet = FALSE, warn = TRUE)
applyMap(track, map, design)
|
track |
A |
design |
A |
minProbes |
Single integer value, the amount of probes a segment in |
quiet |
Single logical value, whether to print diagnostic |
map |
An integer matrix defining the mapping of |
warn |
Single logical value, to be passed to the |
map2design
returns an integer matrix with 3 columns and row names. Columns "start" and "end" define the coordinates of a segment as probe indexes in design
, and column "count" allow to group segments with the same remapped coordinates. Row names correspond to the index range of the corresponding segments in the original track
.
applyMap
returns a copy of track
, in which start
and end
coordinates have been updated to match coordinates of probes in design
. Segments that do not overlap at least minProbes
probe in design
are excluded.
Sylvain Mareschal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.