Combine the output of getEsPositions and findCopyNumber to see which
genes are in the enriched areas.
Given areas of enrichment (obtained with findCopyNumber) and a
set of genes or probes and their positions in the genome (obtained with
getEsPositions) the function tells which genes fall in each
area.
Usage
genesInArea(x, regions)
Arguments
x
An object of class data.frame with gene or probe identifiers as
row names and the following columns: es (the enrichment score), chr (the
chromosome where the gene or probe belong to) and pos (position in the
chromosome in megabases).
It can be obtained with the function getEsPositions.
regions
This is usually the output of findCopyNumber function.