| geneList-class {refGenome} | R Documentation |
"geneList"geneList represents data for a single gene.
geneList(ref, genes, interior=TRUE)
ref |
ensemblGenome or ucscGenome. Genome object from which gene data is extracted. |
genes |
Vector of gene_id's |
interior |
When |
Objects can be created by calls of the form .geneList().
l:Object of class "list".
List containing geneModel objects.
signature(object = "geneList"):
Creates a sensible printout.
signature(object= "geneList"
Returns length of contained (geneModel) list.
signature(object= "geneList"
Returns names of contained (geneModel) list.
signature(object= "geneList",i="numeric"
Sets names of contained (geneModel) list.
signature(e1= "geneList", e2="geneList"
Combines two lists together.
Wolfgang Kaisers
##-------------------------------------##
## A) Ensembl
##-------------------------------------##
ensfile <- system.file("extdata",
"hs.ensembl.62.small.RData", package="refGenome")
ens <-loadGenome(ensfile)
gt <- getGeneTable(ens)
gl <- geneList(ens, gt$gene_id, interior=TRUE)
names(gl)
length(gl)
gl
gl[1]
gl[1] + gl[2]