Description Usage Arguments Details Value Author(s) Examples
This functions returns a data.frame
with various informations
for a given mature miRNA ID from the mirbase database (provided by the
mirbase.db Bioconductor package).
getMirbaseForMature
: search for a single miRNA.
mgetMirbaseForMature
: search for multiple miRNAs.
1 2 | getMirbaseForMature( x, operator="=", tables=c( "mirna" ) )
mgetMirbaseForMature( x, operator="=", tables=c( "mirna" ), ifnotfound=NA )
|
x |
The mature miRNA ID(s). |
operator |
The operator to search for the miRNA IDs. One of “=”, “!=”, “like” and “not like”. |
tables |
Character vector of the tables from which information should be returned. Currently “mirna” (informations about the pre-miRNA), “mirna\_prefam” (miRNA family information), “mirna\_cluster” (miRNA cluster) and “mirna_chromosome_build” (chromosomal alignment of the pre-miRNA) are supported. |
ifnotfound |
Will be returned if a miRNA is not found. |
The function returns the contents of the mirbase database tables “mirna\_mature” and “mirna”.
A data.frame
or a list of data.frame
s (in the case of
mgetMirbaseForMature
).
Johannes Rainer
1 2 3 4 5 6 7 8 9 10 11 12 | Res <- getMirbaseForMature( x="hsa-miR-221-3p" )
colnames( Res )
Res <- mgetMirbaseForMature( c( "hsa-miR-221-3p", "hsa-miR-221-5p" ) )
class( Res )
length( Res )
## join to a data.frame
Res <- do.call( "rbind", Res )
## the call below is identical to getMirbaseFamForMature
Res <- getMirbaseForMature( "hsa-miR-221-3p", tables=c( "mirna", "mirna_prefam" ) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.