Learn R Programming

cummeRbund (version 2.14.0)

getFeatures: getFeatures

Description

Primary accessor from a CuffSet object to retrieve all related information for >1 (MANY) given FEATURES, indexed by tracking id.

Usage

"getFeatures"(object, featureIdList, sampleIdList=NULL,level='isoforms')

Arguments

object
An object of class 'CuffSet' (Primary 'pointer' object for Cufflinks data).
featureIdList
A vector of 'isoform_id', 'TSS_group_id', or 'CDS_id' to identify which features 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
level
Feature level to be queried for significance (must be one of c('isoforms','TSS','CDS')

Value

Returns a CuffFeatureSet object containing all related information for a given set of tracking_id values

Details

None.

References

None.

Examples

Run this code
	cuff<-readCufflinks(system.file("extdata", package="cummeRbund")) #Read cufflinks data and create master CuffSet object
	sample.isoform.ids<-sample(featureNames(isoforms(cuff)),10)
	myGene<-getFeatures(cuff,sample.isoform.ids) # Retrieve all information for a set of 10 sampled features.

Run the code above in your browser using DataLab