View source: R/getRecurrence.R
setupWindows | R Documentation |
Split the genome into windows of a given size (windowLength). Used as input when calculating recurrence of signatures across the genome.
setupWindows(chr,startpos,endpos, windowLength = 1000000,doBiomart=FALSE)
chr |
Vector of chromesome labels for all segments from all copy numebr profiles. |
startpos |
Vector of start positions for all segments from all copy numebr profiles. |
endpos |
Vector of end positions for all segments from all copy numebr profiles. |
windowLength |
Length of genomic windows to be returned, in bases. |
doBiomart |
Boolean. Whether to return a biomart mart object. Used when plotting gene names in plotRecurrence(), if a gene genomicRanges object is not supplied. |
List of: [[windows]]=matrix of genomic windows, [[windowsGR]]=GenomicRanges object of genomic windows, [[splits]]=genomic windows that denote boundaries between chromosomes, [[mids]]=genomic windows that denot midpoints of chromosomes, [[ensembl]]=biomart mart object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.