AssociateWithInterval: Returns index of association between a probe and a set of...

Description Usage Arguments Author(s) Examples

Description

Takes four vectors representing a unique ID, chromosome, start, and end of non-overlapping regions of interest (e.g. known genes, CpG islands, etc.). Two additional vectors representing the chromosome and start position of probes in a tiling array.

One additional argument (optional) specifies the length of the probes. This can be either a vector with one length for each probe, or a scalar if all probes are the same length. If this argument is not specified, probes are assumed to be 25bp in length.

Returns a vector representing the unique ID of the interval in which each probe can be found. Values of NA are returned for probes that are located in any of the given genomic intervals.

Usage

1
AssociateWithInterval(fID, fCHR, fSTART, fEND, pCHR, pSTART, pLENGTH)

Arguments

fID

Vector of unique IDs, representing each interval searched.

fCHR

Vector of chromosomes, one for each interval searched.

fSTART

Vector of start positions, one for each interval searched.

fEND

Vector of end positions, one for the each interval searched.

pCHR

Vector of chromosomes, one for each probes being annotated.

pSTART

Vector of start positions, one for each of the probes being annotated.

pLENGTH

Vector or scalar representing probe length. Default is 25bp for each probe.

Author(s)

Charles Danko

Examples

1
2
3
4
data(KnownGenes)

## Returns probes that fall inside known genes.
Interval <- AssociateWithInterval( KG[,1], KG[,2], KG[,4], KG[,5], Einter[,3], as.integer(Einter[,2]) )

AffyTiling documentation built on Oct. 5, 2016, 4:12 a.m.