getGene: getGene

Description Usage Arguments Details Value Note Author(s) References Examples

Description

Primary accessor from a CuffSet object to retrive all related information for 1 (one) given gene, indexed by gene_id or gene_short_name.

Usage

1
2
## S4 method for signature 'CuffSet'
getGene(object, geneId, sampleIdList=NULL)

Arguments

object

An object of class 'CuffSet' (Primary 'pointer' object for Cufflinks data).

geneId

A character string to identify which gene for which you would like to retrieve all information.

sampleIdList

A vector of sample names used to subset or re-order samples in returned object

Details

None.

Value

Returns a CuffGene object containing all related information for a given gene_id or gene_short_name

Note

Right now, this does not return an error if it cannot find a gene. (this is probably a bad thing...)

Author(s)

Loyal A. Goff

References

None.

Examples

1
2
	a<-readCufflinks(system.file("extdata", package="cummeRbund")) #Read cufflinks data and create master CuffSet object
	myGene<-getGene(a,"PINK1") # Retrieve all information for gene "PINK1"

cummeRbund documentation built on Nov. 8, 2020, 7:53 p.m.