https://github.com/bioconductor-source/somascan.db
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.1%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: bioconductor-source
- License: other
- Language: R
- Default Branch: devel
- Size: 1.71 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Created almost 2 years ago
· Last pushed almost 2 years ago
Metadata Files
Readme
Changelog
License
Support
README.Rmd
---
output: github_document
---
```{r setup, include = FALSE}
Sys.setlocale("LC_COLLATE", "en_US.UTF-8") # ensure common sorting envir
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
dcf <- read.dcf(file = file.path(".", "DESCRIPTION"))
if ( nrow(dcf) < 1L)
stop("DESCRIPTION file of package is corrupt.", call. = FALSE)
desc <- as.list(dcf[1L, ])
ver <- paste0("https://img.shields.io/badge/Version-", desc$Version,
"-success.svg?style=flat&logo=github")
```
# SomaScan.db

[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://choosealicense.com/licenses/mit/)
[](https://bioconductor.org/packages/stats/data-annotation/SomaScan.db/)
[](https://support.bioconductor.org/tag/SomaScan.db)
# Overview
The `SomaScan.db` package is a platform-centric R package that provides
extended biological annotations for analytes in the SomaScan assay menu, using
resources provided by the [Bioconductor](https://bioconductor.org/) project.
The package exposes a database object, `SomaScan.db`, which is an SQLite
database that can be queried to retrieve annotations for SomaScan analytes.
`SomaScan.db` is structured around a primary identifier, the SomaLogic
sequence ID (`SeqId`). Please note that in some cases, this identifier may
also be referred to as a "PROBEID". `SeqIds` are the cornerstone of
the SomaScan assay, and are used to uniquely identify SomaLogic
analytes. The `SomaScan.db` package enables mapping from `SeqIds` to other
identifiers from popular public data repositories, many of which are
gene-based, and vice versa.
For more information about `SeqIds`, please see
[?SomaDataIO::SeqId](https://somalogic.github.io/SomaDataIO/reference/SeqId.html).
---------------------
## Installation
`SomaScan.db` can be installed from the most recent Bioconductor release using
the [BiocManager](https://CRAN.R-project.org/package=BiocManager) package:
```{r eval=FALSE}
# If not already installed, install BiocManager
if (!require("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("SomaScan.db")
```
The development version of `SomaScan.db`, containing the most current
features and/or updates, can be be installed from GitHub:
```{r eval=FALSE}
remotes::install_github("SomaLogic/SomaScan.db")
```
Once installed, the package can be loaded using the usual syntax:
```{r eval=FALSE}
library(SomaScan.db)
```
### Dependencies
The `SomaScan.db` package requires `R >= 4.3.0`, and depends on the
following R packages:
* `methods`
- comes bundled with R installation
* `AnnotationDbi` (>= 1.56.2)
- install from Bioconductor: `BiocManager::install("AnnotationDbi")`
You may also want to install another of SomaLogic's R packages,
[SomaDataIO](https://github.com/SomaLogic/SomaDataIO/),
which is designed for reading, writing, and manipulating
[ADATs](https://github.com/SomaLogic/SomaLogic-Data/blob/master/README.md).
If you have not already used `SomaDataIO` to work with your
SomaScan data, you will likely find it highly useful. `SomaDataIO` is
available on [CRAN](https://cran.r-project.org/package=SomaDataIO).
---------------------
## Usage
The annotations in `SomaScan.db` can be queried using 5 methods that are
common amongst Bioconductor annotation packages:
1. `keys` returns a list of all central identifiers in the package, aka
SomaScan analytes, for which there are annotations available:
```{r eval=FALSE}
keys(SomaScan.db)
```
2. `keytypes` lists data types that can be used as keys to query the
SQLite database:
```{r eval=FALSE}
keytypes(SomaScan.db)
```
3. `columns` lists all available data types:
```{r eval=FALSE}
columns(SomaScan.db)
```
4. `mapIds` retrieves annotation data (from only a single data type, aka
column):
```{r eval=FALSE}
mapIds(SomaScan.db, keys = "18342-2", columns = "SYMBOL", multiVals = "first")
```
5. `select` retrieves annotation data en masse (from multiple columns) using
values from `keys` and `columns`:
```{r eval=FALSE}
select(SomaScan.db, keys = "18342-2", columns = c("SYMBOL", "UNIPROT"))
```
`select` can also be used to identify `SeqIds` associated with a gene or
or protein of interest (here, `PROBEID` refers to the SomaScan `SeqIds`):
```{r eval=FALSE}
select(SomaScan.db, keys = "EGFR", keytype = "SYMBOL", columns = "PROBEID")
```
For more detailed usage examples, please see the `SomaScan.db` package
vignettes, or the introductory vignette from Bioconductor's `AnnotationDbi`:
```{r}
vignette("IntroToAnnotationPackages", package = "AnnotationDbi")
```
---------------------
## SomaScan Menus
The SomaScan menu version will be referenced at various points throughout this
package and its documentation. Please see the table below for information
about each menu:
| SomaScan version | Common name | Plex size[^1] |
| :------------------- | :------------- | :------------- |
| v4.0 | 5k | 5,284 |
| v4.1 | 7k | 7,596 |
| v5.0 | 11k | 10,731 |
[^1]: `SomaScan.db` contains annotations for human protein targets only.
However, some targets in the SomaScan menu are associated with biological
entities not represented in this package. As such, this value may differ from
the exact number in your ADAT.
---------------------
## MIT LICENSE
`SomaScan.db` is licensed under the MIT license and is intended
solely for research use only (RUO) purposes. The code contained
herein may not be used for diagnostic, clinical, therapeutic, or other
commercial purposes.
- See:
- [LICENSE](https://github.com/SomaLogic/SomaScan.db/blob/main/LICENSE.md)
- The MIT license:
-
- [https://www.tldrlegal.com/license/mit-license/](https://www.tldrlegal.com/license/mit-license)
- Further:
- "SomaScan.db" and "SomaLogic" are trademarks owned by SomaLogic
Operating Co., Inc. No license is hereby granted to these trademarks
other than for purposes of identifying the origin or source of this
Software
Owner
- Name: (WIP DEV) Bioconductor Packages
- Login: bioconductor-source
- Kind: organization
- Email: maintainer@bioconductor.org
- Website: https://bioconductor.org
- Repositories: 1
- Profile: https://github.com/bioconductor-source
Source code for packages accepted into Bioconductor
GitHub Events
Total
Last Year
Dependencies
.github/workflows/pkgdown.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- AnnotationDbi >= 1.56.2 depends
- R >= 4.3.0 depends
- methods * depends
- DBI * imports
- org.Hs.eg.db >= 3.14.0 imports
- BiocStyle * suggests
- GO.db * suggests
- KEGGREST * suggests
- SomaDataIO * suggests
- annotate * suggests
- dplyr * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
- tibble * suggests
- withr * suggests