https://github.com/bioconductor-source/singlecellalleleexperiment

https://github.com/bioconductor-source/singlecellalleleexperiment

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 (12.2%) 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: 22.4 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

README.md

SingleCellAlleleExperiment

Defines a S4 class that is based on SingleCellExperiment. In addition to the usual gene layer, SingleCellAlleleExperiment can also store data for immune genes such as HLAs, Immunoglobulins and KIRs at the allele level and at the level of functionally similar groups of immune genes.

Installation

SingleCellAlleleExperiment and its data package scaeData are available in Bioconductor and can be installed as follows:

```markdown if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager")

BiocManager::install("scaeData") BiocManager::install("SingleCellAlleleExperiment") ```

Alternatively, they can be installed from GitHub using the devtools package:

```markdown if (!require("devtools", quietly = TRUE)) install.packages("devtools")

devtools::installgithub("AGImkeller/scaeData", buildvignettes = TRUE) devtools::installgithub("AGImkeller/SingleCellAlleleExperiment", buildvignettes = TRUE) ```

Biological background and motivation

Immune molecules such as B and T cell receptors, human leukocyte antigens (HLAs) or killer Ig-like receptors (KIRs) are encoded in the genetically most diverse loci of the human genome. Many of these immune genes are hyperpolymorphic, showing high allelic diversity across human populations. In addition, typical immune molecules are polygenic, which means that multiple functionally similar genes encode the same protein subunit.

However, interactive single-cell methods commonly used to analyze immune cells in large patient cohorts do not consider this. This leads to erroneous quantification of important immune mediators and impaired inter-donor comparability.

Workflow for unraveling the immunogenetic diversity in scData

We have developed a workflow that allows quantification of expression and interactive exploration of donor-specific alleles of different immune genes. The workflow is divided into two software packages and one additional data package:

  1. The scIGD software package consist of a Snakemake workflow designed to automate and streamline the genotyping process for immune genes, focusing on key targets such as HLAs and KIRs, and enabling allele-specific quantification from single-cell RNA-sequencing (scRNA-seq) data using donor-specific references. For detailed information of the performed steps and how to utilize this workflow, please refer to its documentation.

  2. To harness the full analytical potential of the results, we've developed a dedicated R package, SingleCellAlleleExperiment presented in this repository. This package provides a comprehensive multi-layer data structure, enabling the representation of immune genes at specific levels, including alleles, genes, and groups of functionally similar genes and thus, allows data analysis across these immunologically relevant, different layers of annotation.

  3. The scaeData is an R/ExperimentHub data package providing datasets generated and processed by the scIGD software package which can be used to explore the data and potential downstream analysis workflows using the here presented novel SingleCellAlleleExperiment data structure. Refer to scaeData for more information regarding the available datasets and source of raw data.

This workflow is designed to support both 10x and BD Rhapsody data, encompassing amplicon/targeted sequencing as well as whole-transcriptome-based data, providing flexibility to users working with different experimental setups.

scIGD workflow Figure 1: Overview of the scIGD workflow for unraveling immunogenomic diversity in single-cell data, highlighting the integration of the SingleCellAlleleExperiment package for comprehensive data analysis.

The SingleCellAlleleExperiment (SCAE) class

The SingleCellAlleleExperiment (SCAE) class serves as a comprehensive multi-layer data structure, enabling the representation of immune genes at specific levels, including alleles, genes, and groups of functionally similar genes and thus, allows data analysis across these immunologically relevant, different layers of annotation. The implemented data object is derived from the SingleCellExperiment (SCE) class and follows similar conventions, where rows should represent features (genes, transcripts) and columns should represent cells.


Scheme of SingleCellAlleleExperiment object structure with lookup table.

Figure 2: Scheme of SingleCellAlleleExperiment object structure with lookup table.


For the integration of the relevant additional data layers (see Figure 2), the quantification data for alleles, generated by the novel scIGD software package, is aggregated into two additional data layers via an ontology-based design principle using a lookup table during object generation.

For example, the counts of the alleles A*01:01:01:01 and A*02:01:01:01 that are present in the raw input data will be combined into the HLA-A immune gene layer (see Table 1 below). Next, all counts of immune genes corresponding to HLA-class I are combined into the HLA-class I functional class layer. See the structure of the used lookup table below.


Table 1: Scheme of the lookup table used to aggregate allele information into multiple data layers.

| Allele | Gene | Function | | :----------- | :--------- | :---------- | | A*01:01:01 | HLA-A | HLA class I | | A*02:01:01 | HLA-A | HLA class I | | ... | ... | ... | | DRB1*01:01:01| HLA-DRB1 | HLA class II|

The resulting SCAE data object can be used in combination with established single cell analysis packages like scater and scran to perform downstream analysis on immune gene expression, allowing data exploration on functional and allele level. See the vignette for further information and insights on how to perform downstream analysis using exemplary data from the accompanying R/Experimenthub package scaeData.

Citation

To be added..

Authors

Owner

  • Name: (WIP DEV) Bioconductor Packages
  • Login: bioconductor-source
  • Kind: organization
  • Email: maintainer@bioconductor.org

Source code for packages accepted into Bioconductor

GitHub Events

Total
Last Year

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • actions/upload-artifact master composite
  • grimbough/bioc-actions/build-install-check v1 composite
  • grimbough/bioc-actions/run-BiocCheck v1 composite
  • grimbough/bioc-actions/setup-bioc v1 composite
  • r-lib/actions/setup-pandoc v2 composite
DESCRIPTION cran
  • R >= 4.4.0 depends
  • SingleCellExperiment * depends
  • BiocParallel * imports
  • DelayedArray * imports
  • Matrix * imports
  • S4Vectors * imports
  • SummarizedExperiment * imports
  • methods * imports
  • stats * imports
  • utils * imports
  • AnnotationDbi * suggests
  • BiocStyle * suggests
  • DropletUtils * suggests
  • ggplot2 * suggests
  • knitr * suggests
  • org.Hs.eg.db * suggests
  • patchwork * suggests
  • rmarkdown * suggests
  • scaeData * suggests
  • scater * suggests
  • scran * suggests
  • scuttle * suggests
  • testthat >= 3.0.0 suggests