Last data update: 2014.03.03

R: Annotation package that collates several annotation...
Rattus.norvegicusR Documentation

Annotation package that collates several annotation resources.

Description

This data object was automatically created by Bioconductor Core Team. It represents a collection of annotation packages that can be used as a single object named Rattus.norvegicus. This object can be used with the standard four accessor method for all AnnotationDbi objects. Namely: cols, keytype, keys and select. Users are encouraged to read the vignette from the OrganismDbi package for more details.

Usage

library(Rattus.norvegicus)

Examples

  Rattus.norvegicus
  cls <- columns(Rattus.norvegicus)
  cls
  cls <- cls[c(1,19,45)]
  kts <- keytypes(Rattus.norvegicus)
  kt <- kts[2]
  kts
  ks <- head(keys(Rattus.norvegicus, keytype=kts[2]))
  ks
  res <- select(Rattus.norvegicus, keys=ks, columns=cls, keytype=kt)
  head(res)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Rattus.norvegicus)
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colnames, do.call, duplicated, eval, evalq,
    get, grep, grepl, intersect, is.unsorted, lapply, lengths, mapply,
    match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank,
    rbind, rownames, sapply, setdiff, sort, table, tapply, union,
    unique, unsplit

Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: IRanges
Loading required package: S4Vectors

Attaching package: 'S4Vectors'

The following objects are masked from 'package:base':

    colMeans, colSums, expand.grid, rowMeans, rowSums

Loading required package: OrganismDbi
Loading required package: GenomicFeatures
Loading required package: GenomeInfoDb
Loading required package: GenomicRanges
Loading required package: GO.db

Loading required package: org.Rn.eg.db

Loading required package: TxDb.Rnorvegicus.UCSC.rn5.refGene
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/Rattus.norvegicus/Rattus.norvegicus.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Rattus.norvegicus
> ### Title: Annotation package that collates several annotation resources.
> ### Aliases: Rattus.norvegicus
> ### Keywords: datasets
> 
> ### ** Examples
> 
>   Rattus.norvegicus
OrganismDb Object:
# Includes GODb Object:  GO.db 
# With data about:  Gene Ontology 
# Includes OrgDb Object:  org.Rn.eg.db 
# Gene data about:  Rattus norvegicus 
# Taxonomy Id:  10116 
# Includes TxDb Object:  TxDb.Rnorvegicus.UCSC.rn5.refGene 
# Transcriptome data about:  Rattus norvegicus 
# Based on genome:  rn5 
# The OrgDb gene id ENTREZID is mapped to the TxDb gene id GENEID .
>   cls <- columns(Rattus.norvegicus)
>   cls
 [1] "ACCNUM"       "ALIAS"        "CDSCHROM"     "CDSEND"       "CDSID"       
 [6] "CDSNAME"      "CDSSTART"     "CDSSTRAND"    "DEFINITION"   "ENSEMBL"     
[11] "ENSEMBLPROT"  "ENSEMBLTRANS" "ENTREZID"     "ENZYME"       "EVIDENCE"    
[16] "EVIDENCEALL"  "EXONCHROM"    "EXONEND"      "EXONID"       "EXONNAME"    
[21] "EXONRANK"     "EXONSTART"    "EXONSTRAND"   "GENEID"       "GENENAME"    
[26] "GO"           "GOALL"        "GOID"         "IPI"          "ONTOLOGY"    
[31] "ONTOLOGYALL"  "PATH"         "PFAM"         "PMID"         "PROSITE"     
[36] "REFSEQ"       "SYMBOL"       "TERM"         "TXCHROM"      "TXEND"       
[41] "TXID"         "TXNAME"       "TXSTART"      "TXSTRAND"     "TXTYPE"      
[46] "UNIGENE"      "UNIPROT"     
>   cls <- cls[c(1,19,45)]
>   kts <- keytypes(Rattus.norvegicus)
>   kt <- kts[2]
>   kts
 [1] "ACCNUM"       "ALIAS"        "CDSID"        "CDSNAME"      "DEFINITION"  
 [6] "ENSEMBL"      "ENSEMBLPROT"  "ENSEMBLTRANS" "ENTREZID"     "ENZYME"      
[11] "EVIDENCE"     "EVIDENCEALL"  "EXONID"       "EXONNAME"     "GENEID"      
[16] "GENENAME"     "GO"           "GOALL"        "GOID"         "IPI"         
[21] "ONTOLOGY"     "ONTOLOGYALL"  "PATH"         "PFAM"         "PMID"        
[26] "PROSITE"      "REFSEQ"       "SYMBOL"       "TERM"         "TXID"        
[31] "TXNAME"       "UNIGENE"      "UNIPROT"     
>   ks <- head(keys(Rattus.norvegicus, keytype=kts[2]))
>   ks
[1] "ASP"    "Asip"   "A2MAC1" "A2m1"   "A2maa"  "A2mb"  
>   res <- select(Rattus.norvegicus, keys=ks, columns=cls, keytype=kt)
'select()' returned 1:many mapping between keys and columns
>   head(res)
  ALIAS   ACCNUM EXONID TXTYPE
1   ASP AB045587  36112   <NA>
2   ASP AB045587  36113   <NA>
3   ASP AB045587  36115   <NA>
4   ASP AB045587  36116   <NA>
5   ASP AB045587  36117   <NA>
6   ASP AB045587  36114   <NA>
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>