Map between Uniprot accession numbers and SomaScan SeqIds
SomaScanUNIPROT.Rd
SomaScanUNIPROT
is an R object that contains mappings between
SeqIds
and Uniprot accession numbers.
Details
This object is a simple mapping of SeqIds
to Uniprot
accession numbers.
Human mappings were based on data provided by NCBI, with an exception for fly, which required retrieving the data from Ensembl (http://www.ensembl.org/biomart/martview/).
Value
A Bimap object of the ProbeAnnDbBimap
class.
See also
AnnotationDb-class
for use of
the select()
interface.
Examples
## select() interface:
## Objects in this package can be accessed using the select() interface
## from the AnnotationDbi package. See ?select for details.
## Bimap interface:
x <- SomaScanUNIPROT
# Get the entrez gene IDs that are mapped to an Uniprot ID
mapped_genes <- mappedkeys(x)
# Convert to a list
xx <- as.list(x[mapped_genes][1:300])
if(length(xx) > 0) {
# Get the Uniprot IDs for the first five genes
xx[1:5]
# Get the first value
xx[[1]]
}
#> [1] "A0A0H3W5U0" "P43320" "Q9UCM8" "R4UMM2"