Skip to content

Repository files navigation

AnalyteExplorer

R-CMD-checkdocker

The goal of AnalyteExplorer is to pre-process data for the AnalyteExplorer module in ImmuneSpace.

Installation

You can install the development version of AnalyteExplorer from GitHub with:

# install.packages("remotes")remotes::install_github("RGLab/AnalyteExplorer")

Workflow with ImmuneSpace

library(AnalyteExplorer)
library(UpdateAnno)
options(debug_dir= tempdir())
labkey.url.base<-"https://datatools.immunespace.org"labkey.url.path<-"/AnalyteExplorer"genes<- process_data("genes")
validate(genes)
res<- update_table(genes)
cohorts<- process_data("cohorts")
validate(cohorts)
res<- update_table(cohorts)
btm<- process_data("blood_transcription_modules")
validate(btm)
res<- update_table(btm)
signatures<- process_data("gene_signatures")
validata(signautres)
res<- update_table(signatures)
summaries<- process_data("gene_expression_summaries")
validate(summaries)
res<- update_table(summaries)

Data Processing

process_blood_transcription_modules()

idnamegenesmatched_gene_ontology_termsnumber_of_genesmodule_category
M0targets of FOSL1/2 (M0)CCL2, COL1A2, DCN, IL6, CXCL8, LIF, MGP, MMP1, MMP2, MMP9, PLAU, THBDextracellular space (11), extracellular region (11), protein binding (9)12TF targets
M1.0integrin cell surface interactions (I) (M1.0)COL1A1, COL1A2, COL5A1, DPYSL3, MYH10, NRP1, PTK2, RHOC, RRAS, SEMA6Aprotein binding (26), axon guidance (20), extracellular region (16)29molecular function
M1.1integrin cell surface interactions (II) (M1.1)AHSP, ALAD, ALAS2, CPOX, E2F2, FECH, GATA1, HEMGN, HMBS, PLEK2, TMOD1protein binding (12), extracellular region (12), extracellular matrix structural constituent (9)12molecular function
M2.0extracellular matrix (I) (M2.0)CD1D, HLA-DMA, HLA-DMB, HLA-DPA1, HLA-DPB1, HLA-DQA2, METTL7A, WDFY4protein binding (27), extracellular region (26), extracellular matrix (21)30location

process_gene_expression_summaries()

  • This function creates a gene expression table by cohort, timepoint, and analyte type (gene, blood transcript module, or gene signature).
  • Processing steps:
    1. Fetch gene expression matrices and metadata from ImmuneSpace and combine them into one ExpressionSet object.
      • Remove genes that are not available in all expression matrices.
    2. Remove samples that have negative timepoint and select one timepoint if sample has multiple baseline timepoints.
    3. Create gene expression table summarized by analyte type.
      1. In sample level, when summarizing by blood transcript module or gene signature, compute geometric mean of the expression values of the genes in the module or signature
      2. In cohort level, compute the fold change of the expression values for all combinations of timepoints comparing to the baseline timepoint.
      3. Compute mean and standard deviation of those fold change values by analyte type
    4. Merge the three summarized tables
cohortsample_typestudy_accessionconditiontimepointanalyte_idanalyte_typemean_fold_changesd_fold_changeid
healthy aldultsWhole bloodSDY1529Yellow_Fever0A1CFgene001
healthy aldultsWhole bloodSDY1529Yellow_Fever0A2Mgene002
healthy aldultsWhole bloodSDY1529Yellow_Fever3M0blood transcription module-0.03850900.08758053894315
healthy aldultsWhole bloodSDY1529Yellow_Fever3M1.0blood transcription module-0.01815100.10516483894316
healthy aldultsWhole bloodSDY1529Yellow_Fever321357945_1_8gene signature0.71022190.54020854028003
healthy aldultsWhole bloodSDY1529Yellow_Fever321357945_2_9gene signature0.11059550.50265204028004

About

Analyte Explorer Pre-processing Scripts

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Packages

Contributors

Languages