Learn R Programming

GeneRegionScan (version 1.28.0)

getProbeLevelAnnotationForExonArrays: Get ProbeLevel Annotation for Exon Arrays

Description

Internal function that will return exon probe sequence and probe id for all probes in a given list of probe sets.

Usage

getProbeLevelAnnotationForExonArrays(vectorOfProbesets, pgfPath)

Arguments

vectorOfProbesets
A character string with probeset IDs.
pgfPath
The path of a pgf file for the exon array type of interest. Can be downloaded from www.affymetrix.com.

Value

  • A dataframe with a row for each probe in the submitted probeset. The columns with the names "probeset_name" and "sequence" contains this.

Details

This function makes a call to readPgf in the affxparser package to get the sequence information. The readPgf will then load the entire pgf file and that might be quite memory intensive. However it is not possible to extract the indices of the probeset names without doing this. The function is primarily intended to be called by getLocalProbeIntensities.

The call to readPgf sometimes gives a is.na() warning. The reason for this is not known, but it does not seem to affect performance.

See Also

readPgf, getLocalProbeIntensities, plotOnGene

Examples

Run this code
#must supply pgf file for this to work
	getProbeLevelAnnotationForExonArrays("43254543", pgfPath="~/somewhere/some.pgf")

Run the code above in your browser using DataLab