annotate (version 1.48.0)

usedChromGenes: A function to select used genes on a chromosome from an ExpressionSet.

Description

Given an instance of an ExpressionSet, a chromLocation object and the name of a chromosome this function returns all genes represented in the ExpressionSet on the specified chromosome.

Usage

usedChromGenes(eSet, chrom, specChrom)

Arguments

eSet
An instance of an ExpressionSet object.
chrom
The name of the chromosome of interest.
specChrom
An instance of a chromLocation object.

Value

Returns a vector of gene names that represent the genes from the ExpressionSet that are on the specified chromosome.

Examples

Run this code
    data(sample.ExpressionSet)
    data(hgu95AProbLocs)
    usedChromGenes(sample.ExpressionSet, "1", hgu95AProbLocs)

Run the code above in your browser using DataCamp Workspace