scTWAS: a powerful statistical framework for single-cell transcriptome-wide association studies.
The 6 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › Real data applications › Prediction model training and evaluation ↔ realdata_code/ROSMAP/GE_generate_CTS.R, lines 1–61 · score 0.68 · excitatory neuron, inhibitory neuron, Onek1k, OPC, astrocyte, oligodendrocyte
- [2] § Methods › Data sets › Genotype and scRNA-seq data › The OneK1K study ↔ realdata_code/Onek1k/CTS_GE_generate.R, the whole file · a weak match · score 0.66 · MonoNC, MonoC, BMem, DC, donors, CD4
- [3] § Methods › Data sets › Genotype and scRNA-seq data › The ROSMAP study ↔ realdata_code/ROSMAP/GE_generate_CTS.R, lines 1–61 · score 0.64 · excitatory neurons, inhibitory neurons, cell subtypes, OPCs, astrocytes, oligodendrocytes
- [4] § Methods › Data sets › Genotype and scRNA-seq data › The OneK1K study ↔ realdata_code/Onek1k/summary_result.R, the whole file · a weak match · score 0.60 · MonoNC, MonoC, BMem, DC, CD4, filtered
- [5] § Methods › Other TWAS methods under comparison ↔ realdata_code/ROSMAP/GE_generate_CTS.R, lines 178–241 · score 0.56 · log transformation, pseudo bulk, TMM, aggregation, matrix, TWAS
- [6] § Methods › Real data applications › Prediction model training and evaluation ↔ realdata_code/ROSMAP/GE_generate_BULK.R, lines 31–65 · score 0.54 · inhibitory neuron, external, log, OPC, astrocyte, oligodendrocyte
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 320 lines · 14 KB · no license · 3 matches
- library(Seurat)
- library(SeuratDisk) # new, for h5Seurat objects
- library(dplyr)
- library(data.table)
- library(Matrix)
- require(SeqArray)
- source('../../R/scTWAS_IRLS.R')
- gene_info <- fread('../Onek1k/1k1k_gene_GRCh37.txt')
- suppressMessages(library("optparse"))
- option_list = list(
- make_option("--run_subtype", action="store", default="FALSE", type="character",
- help="whether to analyze cell subtypes"),
- make_option("--ct", action="store", default="Microglia", type="character",
- help="which cell type"),
- make_option("--match_with_ct", action="store", default="FALSE", type="character",
- help="whether to match the gene evauated in subtypes with cell type's"))
- opt = parse_args(OptionParser(option_list=option_list))
- run_subtype <- (opt$run_subtype == 'TRUE')
- cts <- opt$ct
- match_with_ct <- (opt$match_with_ct == 'TRUE')
- file_suffix <- ifelse(match_with_ct, '_matched', '')
- sprintf('%s, run subtype: %s, %s', ct, run_subtype, file_suffix) %>% print
- data_dir <- './data/ROSMAP/Gene Expression (snRNAseq - DLPFC, Experiment 2)/processed (March 2024 update)'
- if(run_subtype){
- cell_annotation <- read.csv(sprintf('%s/cell-annotation.n424.csv', data_dir))
- # handle Ex and cux2+, cux2-
- annotation_ct <- ifelse(grepl('cux2', ct), 'Excitatory Neurons', ct)
- # get gene expression data for all subtypes
- sub_cts <- table(cell_annotation$state[cell_annotation$cell.type == annotation_ct]) %>% sort(decreasing=T) %>% names
- print(sprintf('%s subtypes:', ct))
- print(sub_cts)
- }
- ct_seurat_fn <- c('microglia', 'astrocytes',
- 'cux2+', 'cux2-',
- 'oligodendroglia', 'oligodendroglia',
- 'inhibitory',
- 'vascular.niche', 'vascular.niche', 'vascular.niche', 'vascular.niche', 'excitatory')
- names(ct_seurat_fn) <- c('Microglia', 'Astrocyte',
- 'cux2+', 'cux2-',
- 'Oligodendrocytes', 'OPCs',
- 'Inhibitory Neurons',
- 'Endothelial', 'Fibroblast', 'Pericytes', 'SMC', 'excitatory')
- subj_var <- 'individualID'
- batch_var <- 'batch_combined'
- if(ct == 'excitatory'){
- obj_list <- list()
- obj_list[['cux2-']] <- LoadH5Seurat(sprintf("%s/%s.h5Seurat", data_dir, 'cux2-'), assays='RNA')
- obj_list[['cux2+']] <- LoadH5Seurat(sprintf("%s/%s.h5Seurat", data_dir, 'cux2+'), assays='RNA')
- obj <- merge(obj_list[['cux2-']], obj_list[['cux2+']], add.cell.ids = c("cux2-", "cux2+"))
- print('cux2- and cux2+ combined')
- print(dim(obj))
- }else{
- obj <- LoadH5Seurat(sprintf("%s/%s.h5Seurat", data_dir, ct_seurat_fn[ct]), assays='RNA')
- }
- # handle Ex:
- # only part of Ex subtypes are saved in either cux2+/cux2-
- # focus on those subtypes
- if(grepl('cux2', ct) & run_subtype){
- print('handle Excitatory neurons data')
- # subset cell subtypes for Ex
- covered_state <- unique(cell_annotation$state[cell_annotation$barcode %in% colnames(obj)]) %>% sort()
- sub_cts <- sub_cts[sub_cts %in% covered_state]
- print('overlapped cell states:')
- print(sub_cts)
- }
- # handle cell types underlying vascular niche:
- # the seurat object contain cell types other than those annotated in cell_annotation
- # remove those cells when performing cell-type level aggregation
- if(ct_seurat_fn[ct] %in% c('vascular.niche', 'oligodendroglia')){
- print('handle vascular niche / oligodendroglia data')
- cell_annotation <- read.csv(sprintf('%s/cell-annotation.n424.csv', data_dir))
- obj$barcode <- rownames([email hidden])
- obj <- subset(obj, subset = barcode %in% cell_annotation$barcode[cell_annotation$cell.type == ct])
- }
- # -
- # remove cells that failed to be mapped to an individual (individualID='NA') or sequenced in a duplicate batch
- # following Fujita et al., 2024
- # -
- print(sprintf('total #cells: %i', ncol(obj)))
- # remove cells that were not matched to the 424 subjects
- obj <- subset(obj, subset = individualID != 'NA')
- cell_annotation <- read.csv(sprintf('%s/cell-annotation.n424.csv', data_dir))
- obj$barcode <- rownames([email hidden])
- obj <- subset(obj, subset = barcode %in% cell_annotation$barcode)
- print(sprintf('#cells matched to 424 subjects: %i', ncol(obj)))
- # Combine ...-A and ...-B, e.g. 190403-B4-A and 190403-B4-B as one batch
- # "Libraries from four channels were pooled and sequenced on one lane of the Illu- mina HiSeq X "
- # As there are a total of eight channels on 10x GEM machine, we assume that -A represents the first four libraries, and -B the second set of four libraries.
- [email hidden]$batch_combined <- sapply(1:nrow([email hidden]),
- function(i){
- x = [email hidden]$batch[i]
- substr(x, 1, nchar(x)-2)})
- # Identify individualIDs sampled in multiple batches
- meta_data1 <- [email hidden] %>% select('individualID', 'batch_combined') %>% unique()
- inds_with_dup_batches <- names(which(table(meta_data1$individualID)>1))
- keep_batch_list <- character(length(inds_with_dup_batches))
- names(keep_batch_list) <- inds_with_dup_batches
- for(ind in inds_with_dup_batches){
- keep_batch_list[ind] <- names(which.max(table(obj$batch_combined[obj$individualID == ind])))
- }
- # Remove the batch with less samples
- # following the pre-processing in the original paper
- # "Among the remaining 436 specimens, 12 individuals were sequenced twice in distinct batches. After comparing sequencing metrics, one of these duplicates was excluded from further analyses."
- keep_cell_inds <- rep(T, ncol(obj))
- for(ind in names(keep_batch_list)){
- subset_inds <- (obj$individualID == ind & obj$batch_combined != keep_batch_list[ind])
- keep_cell_inds[subset_inds] <- F
- }
- obj$keep_cell_inds <- keep_cell_inds
- obj <- subset(obj, subset = keep_cell_inds)
- print(sprintf('#cells with de-duplicated batch: %i', ncol(obj)))
- # -
- # match ID between snRNA-seq and WGS data
- # -
- # load WGS IDs
- wgs_samples <- seqVCF_SampID(sprintf('%s/ROSMAP/WGS/DEJ_11898_B01_GRM_WGS_2017-05-15_15.recalibrated_variants.vcf.gz', data_dir))
- clinical_covar <- fread(sprintf('%s/ROSMAP_clinical.csv', data_dir))
- specimen_covar <- fread(sprintf('%s/ROSMAP_biospecimen_metadata.csv', data_dir))
- merged_covar <- merge(clinical_covar, specimen_covar, by = 'individualID', all = TRUE)
- merged_covar$newID <- paste0(merged_covar$Study, merged_covar$projid)
- # load gene IDs
- gene_samples <- unique(obj$individualID)
- #colnames(Agg_obj[['RNA']]$counts)
- # extract covariate data that covers the gene sample
- gene_covar <- merged_covar[merged_covar$individualID %in% gene_samples,]
- gene_covar$geno_ID <- rep(NA, nrow(gene_covar))
- # some WGS genotype ID are based on Study+projid
- gene_covar$geno_ID[gene_covar$newID %in% wgs_samples] <- gene_covar$newID[gene_covar$newID %in% wgs_samples]
- # others are based on specimenID
- gene_covar$geno_ID[gene_covar$specimenID %in% wgs_samples] <- gene_covar$specimenID[gene_covar$specimenID %in% wgs_samples]
- geno_covar_uni <- unique(gene_covar[!is.na(gene_covar$geno_ID), c('individualID', 'geno_ID')])
- print(dim(geno_covar_uni)) # some individuals with multiple WGS samples
- geno_covar_matched <- geno_covar_uni[match(gene_samples, geno_covar_uni$individualID),] # remove one of the WGS samples for those who have more than one
- print(dim(geno_covar_matched))
- obj$geno_ID <- geno_covar_matched$geno_ID[match(obj$individualID, geno_covar_matched$individualID)] # match the new geno_IDs to cells
- subj_var <- 'geno_ID'
- if(ct == 'microglia'){
- # save the matching between WGS ID and snRNAseq ID
- write.table(geno_covar_matched, sprintf('%s/WGS_snRNAseq_sample_matching.txt', data_dir))
- # create a fam file for WGS samples that are matched
- wgs_samples_matched <- wgs_samples[match(geno_covar_matched$geno_ID, wgs_samples)]
- print(length(wgs_samples_matched))
- write.table(data.frame(FID=0, IID=wgs_samples_matched),
- sprintf('%s/ROSMAP/WGS/plink_files/match_WGS_samples_subset.txt', data_dir), sep = '\t', quote = F, col.names = F, row.names = F)
- }
- if(ct %in% c('Endothelial', 'Fibroblast', 'Pericytes', 'SMC')){
- print(dim(obj))
- saveRDS(dim(obj), sprintf('%s/scTransform_by_celltype_afterAgg/dimension_%s.rds', data_dir, ct))
- q()
- }
- if(!run_subtype){
- sub_cts <- cts
- }else{
- sub_ct_sum <- matrix(nrow=length(sub_cts), ncol=3)
- rownames(sub_ct_sum) <- sub_cts
- colnames(sub_ct_sum) <- c('ncells', 'ngenes', 'nsubj')
- }
- # -
- # save pseudo-bulk data by cel ltype
- # -
- for(sub_ct in sub_cts){
- print('---------------------------')
- print(sprintf('-----------%s----------', sub_ct))
- print('---------------------------')
- # -
- # save scTWAS object
- # -
- if(run_subtype){
- obj_sub <- subset(obj, barcode %in% cell_annotation$barcode[cell_annotation$state == sub_ct])
- }else{
- obj_sub <- obj
- }
- sprintf('#cells in %s: %i', sub_ct, ncol(obj_sub))
- if(run_subtype) sub_ct_sum[sub_ct, 1] <- ncol(obj_sub)
- Agg_obj <- AggregateExpression(object=obj_sub, assay = 'RNA', group.by=subj_var, return.seurat = TRUE)
- meta_data1 <- [email hidden] %>% select(all_of(subj_var), batch_combined) %>% unique()
- meta_data1 <- meta_data1[match(colnames(Agg_obj),meta_data1[[subj_var]]),]
- rownames(meta_data1) <- meta_data1[[subj_var]]
- [email hidden] <- meta_data1
- ## scTransform normalization
- data <- SCTransform(object = Agg_obj, return.only.var.genes = FALSE)
- sprintf('#individual samples with %s cells after aggregation: %i', sub_ct, ncol(data)) %>% print
- sub_ct_save <- ifelse(grepl('cux2', ct),
- sprintf('%s_%s', ct,sub_ct),
- sub_ct)
- # scTWAS object
- saveRDS(data, file = sprintf('%s/scTransform_by_celltype_afterAgg/%s.rds',data_dir,sub_ct_save))
- # -
- # AN-TWAS
- # -
- ## TMM+log+batch correct
- library(edgeR) # for TMM
- library(sva)
- pb_mat <- GetAssayData(Agg_obj, assay = 'RNA', layer = 'counts')
- # select genes
- if(match_with_ct){
- print(sprintf('Match with %s', ct))
- # use the same genes for subtypes that were selected at the cell type level
- # this is used for microglia subtypes to enable evaluating the same genes as in microglia
- ct_PB_df <- read.table(sprintf('%s/scTransform_by_celltype_afterAgg/Expression_matrices/%s_AN.tsv',data_dir,ct), header = T)
- min_count <- which(!rownames(pb_mat) %in% ct_PB_df$gene_name)
- }else{
- # otherwise, select genes based on total gene counts
- min_count <- which(rowSums(pb_mat)<1000)
- }
- pb_mat <- pb_mat[-min_count,]
- pb_mat <- pb_mat[order(rowSums(pb_mat),decreasing=T),]
- print(dim(pb_mat))
- dgList <- DGEList(pb_mat, genes=rownames(pb_mat))
- dgList <- calcNormFactors(dgList, method = "TMM")
- expr_norm = log_transform(dgList) # same as voom(dgList)$E
- donor_pool <- ([email hidden])[[batch_var]]
- # SKIP quantile normalization
- # https://support.bioconductor.org/p/77664/#77665
- expr_norm_inrt <- matrix(NA, nrow = nrow(expr_norm), ncol = ncol(expr_norm))
- for(i in 1:nrow(expr_norm)){
- expr_norm_inrt[i,] <- INT(expr_norm[i,])
- }
- rownames(expr_norm_inrt) = rownames(expr_norm)
- colnames(expr_norm_inrt) = colnames(expr_norm)
- PB_df = data.frame(gene_name = rownames(expr_norm_inrt))
- PB_df = cbind(PB_df,expr_norm_inrt)
- PB_df = merge(PB_df,gene_info %>% dplyr::select(-ensembl_gene_id),by.x='gene_name',by.y='external_gene_name',sort=FALSE)
- PB_df = PB_df %>% relocate(gene_name, chromosome_name, start_position, end_position)
- fwrite(PB_df, sprintf('%s/scTransform_by_celltype_afterAgg/Expression_matrices/%s_AN%s.tsv',data_dir,sub_ct_save, file_suffix),sep='\t')
- write.table(colnames(PB_df),sprintf('%s/scTransform_by_celltype_afterAgg/Expression_matrices/%s%s.header',
- data_dir,sub_ct_save,file_suffix),quote=F,row.names=F,col.names=F)
- if(run_subtype){
- sub_ct_sum[sub_ct,2] <- nrow(expr_norm)
- sub_ct_sum[sub_ct,3] <- ncol(expr_norm)
- }
- # -
- # NA-TWAS
- # -
- print('scTWAS')
- print(dim(obj_sub))
- sct_obj <- NormalizeData(obj_sub,normalization.method = "LogNormalize", scale.factor = 1e6)
- unique_donor <- sort(unique([email hidden][[subj_var]]))
- # match with PBINT
- print(all(unique_donor == colnames(expr_norm_inrt)))
- unique_donor <- unique_donor[match(colnames(expr_norm_inrt), unique_donor)]
- print(all(unique_donor == colnames(expr_norm_inrt)))
- pr = matrix(NA, nrow = nrow(sct_obj), ncol = length(unique_donor))
- print(length(unique_donor))
- colnames(pr) = unique_donor; rownames(pr) = rownames(sct_obj)
- n_cells <- numeric(length(unique_donor))
- names(n_cells) <- unique_donor
- for(i in unique_donor){
- ind = which([email hidden][[subj_var]] == i)
- pr[,i] = rowMeans((sct_obj[['RNA']]$data[,ind,drop=FALSE]))
- n_cells[i] = length(ind)
- }
- if(grepl('cux', sub_ct_save)){
- saveRDS(pr, sprintf('%s/scTransform_by_celltype_afterAgg/Expression_matrices/%s_pr_mean%s.rds',data_dir,sub_ct_save, file_suffix))
- saveRDS(n_cells, sprintf('%s/scTransform_by_celltype_afterAgg/Expression_matrices/%s_pr_n_count%s.rds', data_dir,sub_ct_save,file_suffix))
- print('save PR mean before INT normalization')
- }
- # # SKIP quantile normalization
- # # https://support.bioconductor.org/p/77664/#77665
- pr_inrt <- matrix(NA, nrow = nrow(pr), ncol = ncol(pr))
- print(anyNA(pr))
- for(i in 1:nrow(pr)){
- pr_inrt[i,] <- INT(pr[i,])
- }
- rownames(pr_inrt) = rownames(pr)
- colnames(pr_inrt) = colnames(pr)
- PR_df = data.frame(gene_name = rownames(pr_inrt))
- PR_df = cbind(PR_df,pr_inrt)
- PR_df = merge(PR_df,gene_info %>% dplyr::select(-ensembl_gene_id),by.x='gene_name',by.y='external_gene_name',sort=FALSE)
- PR_df = PR_df %>% relocate(gene_name, chromosome_name, start_position, end_position)
- PR_df = PR_df[match(PB_df$gene_name,PR_df$gene_name),]
- fwrite(PR_df, sprintf('%s/scTransform_by_celltype_afterAgg/Expression_matrices/%s_NA%s.tsv',
- data_dir,sub_ct_save,file_suffix),sep='\t')
- }
- print('Data saved')
- if(run_subtype){
- write.table(sub_ct_sum, sprintf('%s/scTransform_by_celltype_afterAgg/%s_subtypes_summary%s.txt',
- data_dir,ct,file_suffix))
- print(sprintf('%s/scTransform_by_celltype_afterAgg/%s_subtypes_summary%s.txt',data_dir,ct,file_suffix))
- }
GE_generate_CTS.R at commit f4120fa, no license · at the source
Overview
- Department of Statistics, Florida State University,Tallahassee, FL USA
- Department of Biostatistics and Bioinformatics, Emory University,Atlanta, GA USA
- Department of Human Genetics, Emory University,Atlanta, GA USA
Abstract
Transcriptome-wide association studies (TWAS) have successfully identified genes associated with complex traits and diseases, but most have been performed using bulk gene expression data, which aggregate signals across heterogeneous cell types. Population-scale single-cell RNA sequencing data now make it possible to perform TWAS at the cell-type resolution, but present unique challenges due to strong noises, technical variations, and high sparsity. Here, we propose scTWAS, a statistical method to conduct cell-type-specific TWAS using single-cell data. Leveraging a latent-variable model and moment-based estimation to address the challenges of single-cell data, scTWAS consistently improves the prediction of genetically regulated gene expression across cell types in both blood and brain tissues. Compared to existing methods, scTWAS identifies substantially more gene-trait associations across 29 hematological traits and three immune-related diseases in immune cell types. An application to Alzheimer’s disease also reveals cell-subtype-specific associations, including MS4A6A in the disease-associated microglial subtype and PPP1R37 in the inflammatory microglial subtype.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 6 matches between paragraphs and lines of code.
ZhaotongL/scTWAS
bbd6bf099325721fb1de2b66948445662336d64f, 24 December 2025Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
9 files
- R/
enet.R , R, 58 lines - R/
io.R , R, 81 lines - R/
sct.R , R, 73 lines - R/
stage2.R , R, 365 lines - R/
train.R , R, 277 lines - R/
utils.R , R, 56 lines - LICENSE, License, 2 lines
- LICENSE.md, License, 21 lines
- README.md, Text, 200 lines
ZhaotongL/scTWAS_paper
f4120fac41ee6a87caedfed976dc644d05ac303a, 31 December 2025Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
17 files
- R/
FUSION.assoc_scTWAS.R , R, 353 lines - R/
FUSION.assoc_test.R , R, 399 lines - R/
FusionStage1.R , R, 303 lines - R/
scTWAS_IRLS.R , R, 296 lines - realdata_code/
Onek1k/ , R, 85 lines, 1 matchCTS_GE_generate.R - realdata_code/
Onek1k/ , R, 61 linesPseudobulk_GE_generate.R - realdata_code/
Onek1k/ , R, 28 linesprepare_Stage2.R - realdata_code/
Onek1k/ , R, 63 lines, 1 matchsummary_result.R - realdata_code/
ROSMAP/ , R, 65 lines, 1 matchGE_generate_BULK.R - realdata_code/
ROSMAP/ , R, 320 lines, 3 matchesGE_generate_CTS.R - realdata_code/
ROSMAP/ , Shell, 95 linesStage1_BULK.slurm.sh - realdata_code/
ROSMAP/ , Shell, 122 linesStage1_CTS.slurm.sh - realdata_code/
ROSMAP/ , Shell, 61 linesStage2_BULK.slurm.sh - realdata_code/
ROSMAP/ , R, 66 linesprepare_Stage2.R - realdata_code/
ROSMAP/ , R, 124 linessummary.R - toy_example/
Compute_weight.sh , Shell, 14 lines - README.md, Text, 10 lines
Zenodo 18434920
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
9 files
- R/
enet.R , R, 58 lines - R/
io.R , R, 81 lines - R/
sct.R , R, 73 lines - R/
stage2.R , R, 365 lines - R/
train.R , R, 277 lines - R/
utils.R , R, 56 lines - LICENSE, License, 2 lines
- LICENSE.md, License, 21 lines
- README.md, Text, 200 lines
Zenodo 18434979
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
17 files
- R/
FUSION.assoc_scTWAS.R , R, 353 lines - R/
FUSION.assoc_test.R , R, 399 lines - R/
FusionStage1.R , R, 303 lines - R/
scTWAS_IRLS.R , R, 296 lines - realdata_code/
Onek1k/ , R, 85 linesCTS_GE_generate.R - realdata_code/
Onek1k/ , R, 61 linesPseudobulk_GE_generate.R - realdata_code/
Onek1k/ , R, 28 linesprepare_Stage2.R - realdata_code/
Onek1k/ , R, 63 linessummary_result.R - realdata_code/
ROSMAP/ , R, 65 linesGE_generate_BULK.R - realdata_code/
ROSMAP/ , R, 320 linesGE_generate_CTS.R - realdata_code/
ROSMAP/ , Shell, 95 linesStage1_BULK.slurm.sh - realdata_code/
ROSMAP/ , Shell, 122 linesStage1_CTS.slurm.sh - realdata_code/
ROSMAP/ , Shell, 61 linesStage2_BULK.slurm.sh - realdata_code/
ROSMAP/ , R, 66 linesprepare_Stage2.R - realdata_code/
ROSMAP/ , R, 124 linessummary.R - toy_example/
Compute_weight.sh , Shell, 14 lines - README.md, Text, 10 lines
Code availability
R package for scTWAS is available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 44 scripts, each with its path and the digest of its content;
- 6 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- figshare:31329139, at figshare; found in the references
- figshare:31329184, at figshare; found in the references
- ncbi.nlm.nih.gov/
projects/ , at NCBI; found in “Data availability”gap - synapse.org/
synapse:syn11724057 , at Synapse; found in “Data availability” - synapse.org/
synapse:syn52293417 , at Synapse; found in “Data availability” - synapse.org/
synapse:syn53366818 , at Synapse; found in “Data availability”
Data availability
The GReX prediction models for immune and brain cell types generated in this study have been deposited in Figshare at [10.6084/
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 5 keywords, 10 MeSH terms, 1 funder, 112 references.
Cite
This paper
Lin, Z., & Su, C. (2026). scTWAS: a powerful statistical framework for single-cell transcriptome-wide association studies. Nature communications, 17(1), 3853. https://
BibTeX
@article{lin2026sctwas,
author = {Lin, Zhaotong and Su, Chang},
title = {{scTWAS: a powerful statistical framework for single-cell transcriptome-wide association studies}},
journal = {Nature communications},
year = {2026},
month = mar,
volume = {17},
number = {1},
pages = {3853},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {41820391},
pmcid = {PMC13121454}
}
RIS
TY - JOUR
AU - Lin, Zhaotong
AU - Su, Chang
TI - scTWAS: a powerful statistical framework for single-cell transcriptome-wide association studies
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 3853
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "scTWAS: a powerful statistical framework for single-cell transcriptome-wide association studies",
"container-title": "Nature communications",
"author": [
{
"family": "Lin",
"given": "Zhaotong"
},
{
"family": "Su",
"given": "Chang"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "3853",
"DOI": "10.1038/
"PMID": "41820391",
"PMCID": "PMC13121454",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
12
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s42003-026-10030-4 [code]
- Cell-type-aware transcriptome-wide association studies identify 91 independent risk genes for Alzheimer's disease dementia.Journal: Communications biologyIn common: ggplot2, tidyverse, Alzheimer's / dementia, genetics / omics, cellular / molecular, 12 references
- [2] doi:10.1038/s41467-026-73007-1 [code]
- Single-nucleus epigenomic dysregulation unmasks genetic risk-associated neurodegenerative glia states.Journal: Nature communicationsIn common: Seurat, data.table, ggplot2, 1 other tool, Alzheimer's / dementia, genetics / omics, cellular / molecular, 10 references
- [3] doi:10.1038/s41514-026-00391-9 [code]
- Region-specific transcriptional signatures of brain aging in the absence of neuropathology at the single-cell level.Journal: npj agingIn common: edgeR, Seurat, data.table, 2 other tools, genetics / omics, cellular / molecular, 7 references
- [4] doi:10.1038/s41588-026-02646-3 [code]
- Co-expression-based models improve eQTL predictions for transcriptome-wide association studies and highlight new schizophrenia-associated
genes. Journal: Nature geneticsIn common: glmnet, caret, data.table, 1 other tool, genetics / omics, cellular / molecular, 5 references - [5] doi:10.1016/j.isci.2026.116412 [code]
- KOLF2.1J iTF-Microglia: A standardized platform to study microglial transcriptional regulatory networks in CNS disease.Journal: iScienceIn common: edgeR, data.table, ggplot2, 1 other tool, genetics / omics, 6 references
- [6] doi:10.1371/journal.pgen.1012126 [code]
- FM-GPT: Bayesian fine mapping for phenome-wide transcriptome-wide association studies.Journal: PLoS geneticsIn common: genetics / omics, cellular / molecular, 8 references
- [7] doi:10.1038/s41467-026-75193-4 [code]
- Multi-ancestry gene expression models amplify transcriptome-wide association study discovery and validation.Journal: Nature communicationsIn common: Seurat, data.table, ggplot2, 1 other tool, genetics / omics, cellular / molecular, 5 references
- [8] doi:10.1186/s12967-026-08266-z [code]
- Single-cell multi-omic integration analysis prioritizes druggable genes and reveals cell-type-specific causal effects in glioblastomagenesis.Journal: Journal of translational medicineIn common: edgeR, Seurat, data.table, 2 other tools, genetics / omics, cellular / molecular, 3 references
- [9] doi:10.1002/alz.71823 [code]
- Cellular transcriptomic signatures underpinning the heterogeneity of depression in Alzheimer's disease.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: Seurat, data.table, ggplot2, 1 other tool, Alzheimer's / dementia, genetics / omics, cellular / molecular, 4 references
- [10] doi:10.1002/alz.71558 [code]
- Allele specific expression in Alzheimer's disease.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: Seurat, ggplot2, synapse.org/synapse:syn52293417, Alzheimer's / dementia, genetics / omics, cellular / molecular, 2 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 4 repositories of the authors' code, each at its verified commit and with its license, 44 scripts, and 6 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:b16a1f9cd731f3e2…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
