Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/createOrganismPackage.R
The makeOrganismDbFromTxDb
function allows the user
to make a OrganismDb object from an existing TxDb object.
1 | makeOrganismDbFromTxDb(txdb, keytype=NA, orgdb=NA)
|
txdb |
a |
.
keytype |
By default, |
.
orgdb |
By default, |
makeOrganismDbFromTxDb
is a convenience function that processes
a TxDb
object and pairs it up with GO.db and an appropriate
OrgDb
object to make a OrganismDb
object.
See ?makeOrganismDbFromBiomart
and
?makeOrganismDbFromUCSC
for a similar function that
feeds data from either a BioMart or UCSC.
A OrganismDb object.
M. Carlson
makeOrganismDbFromBiomart
for convenient ways to make a
OrganismDb object from BioMart online resources.
The OrganismDb class.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
## lets start with a txdb object
transcript_ids <- c(
"uc009uzf.1",
"uc009uzg.1",
"uc009uzh.1",
"uc009uzi.1",
"uc009uzj.1"
)
txdbMouse <- makeTxDbFromUCSC(genome="mm9", tablename="knownGene",
transcript_ids=transcript_ids)
## Using that, we can call our function to promote it to an OrgDb object:
odb <- makeOrganismDbFromTxDb(txdb=txdbMouse)
columns(odb)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.