ExtractGenes {DECIPHER} | R Documentation |
Extracts predicted genes from the genome used for prediction.
ExtractGenes(x, myDNAStringSet, type = "DNAStringSet", ...)
x |
An object of class |
myDNAStringSet |
The |
type |
The class of sequences to return. This should be (an unambiguous abbreviation of) one of |
... |
Other parameters passed directly to |
Extracts a set of gene predictions as either DNA, mRNA, or proteins.
An "AAStringSet"
, "DNAStringSet"
, or "RNAStringSet"
determined by type
.
Erik Wright eswright@pitt.edu
FindGenes
, Genes-class
, WriteGenes
# import a test genome fas <- system.file("extdata", "Chlamydia_trachomatis_NC_000117.fas.gz", package="DECIPHER") genome <- readDNAStringSet(fas) x <- FindGenes(genome) genes <- ExtractGenes(x, genome) proteins <- ExtractGenes(x, genome, type="AAStringSet")