Skip to content

Commit 191a754

Browse files
author
Linfeng Hu
committed
Update SLURM documentation and related setup
1 parent 93d1b66 commit 191a754

File tree

6 files changed

+195
-11
lines changed

6 files changed

+195
-11
lines changed

DESCRIPTION

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,55 @@
11
Package: SAIGEQTL
22
Type: Package
3-
Title: scalable and accurate expression quantitative trait locus mapping for single-cell studies
3+
Title: Scalable and Accurate Expression Quantitative Trait Locus Mapping
4+
for Single-Cell Studies
45
Version: 0.3.5
56
Date: 2025-12-08
67
Authors@R: c(
78
person("Wei", "Zhou", email = "[email protected]", role = c("cre", "aut")),
89
person("Anna", "Cuomo", email = "[email protected]", role = c("aut", "ctb")),
910
person("Linfeng", "Hu", email = "[email protected]", role = c("aut", "ctb"))
1011
)
11-
Maintainer: Wei Zhou <[email protected]>
12-
Description:an R package that implements the Scalable and Accurate Implementation of Generalized Poisson mixed model for eQTL mapping at the single-cell level.
12+
Description: Implements the Scalable and Accurate Implementation of
13+
Generalized Poisson mixed model for expression quantitative trait locus
14+
(eQTL) mapping at the single-cell level. Provides functions for fitting
15+
null models, performing association tests, and handling large-scale
16+
single-cell genomics data efficiently.
1317
License: GPL (>= 2)
14-
Imports: Rcpp (>= 1.0.7), RcppParallel, Matrix, data.table, RcppArmadillo (>= 0.10.7.5), RcppNumerical, dbplyr, methods, optparse, RSQLite, dplyr, nlme, MASS, RhpcBLASctl
15-
Suggests: R.utils, furrr
16-
LinkingTo: Rcpp, RcppArmadillo (>= 0.10.7.5), RcppParallel, RcppEigen, BH
17-
Remotes: cysouw/qlcMatrix, leeshawn/MetaSKAT, barkasn/fastSave, leeshawn/SPAtest
18+
URL: https://github.com/weizhou0/SAIGEQTL
19+
BugReports: https://github.com/weizhou0/SAIGEQTL/issues
1820
Depends: R (>= 3.5.0)
21+
Imports:
22+
data.table,
23+
dbplyr,
24+
dplyr,
25+
MASS,
26+
Matrix,
27+
methods,
28+
nlme,
29+
optparse,
30+
Rcpp (>= 1.0.7),
31+
RcppArmadillo (>= 0.10.7.5),
32+
RcppNumerical,
33+
RcppParallel,
34+
RhpcBLASctl,
35+
RSQLite
36+
Suggests:
37+
BiocStyle,
38+
furrr,
39+
knitr,
40+
rmarkdown,
41+
R.utils,
42+
testthat (>= 3.0.0)
43+
LinkingTo:
44+
BH,
45+
Rcpp,
46+
RcppArmadillo (>= 0.10.7.5),
47+
RcppEigen,
48+
RcppParallel
49+
VignetteBuilder: knitr
1950
SystemRequirements: GNU make
20-
RoxygenNote: 7.1.2
21-
NeedsCompilation: yes
22-
biocViews: Expression, GeneticVariability, Genetics, Transcriptomics, SingleCell, Regression
51+
biocViews: GeneExpression, GeneticVariability, Genetics, Transcriptomics,
52+
SingleCell, Regression
2353
Encoding: UTF-8
24-
Packaged: 2025-12-08 EST
54+
NeedsCompilation: yes
55+
RoxygenNote: 7.1.2

NEWS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SAIGEQTL News
2+
3+
## Version 0.3.5 (2025-12-08)
4+
5+
### Changes
6+
- Updated package structure to follow Bioconductor guidelines
7+
- Updated DESCRIPTION file with proper formatting and metadata
8+
- Improved documentation
9+
10+
## Version 0.3.4
11+
12+
### Changes
13+
- Bug fixes and performance improvements
14+
15+
## Version 0.3.0
16+
17+
### New Features
18+
- Initial public release of SAIGEQTL
19+
- Implements Generalized Poisson mixed model for eQTL mapping
20+
- Support for single-cell expression data
21+
- Efficient handling of large-scale genomics data
22+
- Integration with BGEN and other genotype file formats

inst/CITATION

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
citHeader("To cite SAIGEQTL in publications use:")
2+
3+
bibentry(
4+
bibtype = "Manual",
5+
title = "SAIGEQTL: Scalable and Accurate Expression Quantitative Trait Locus Mapping for Single-Cell Studies",
6+
author = c(
7+
person("Wei", "Zhou"),
8+
person("Anna", "Cuomo"),
9+
person("Linfeng", "Hu")
10+
),
11+
year = "2025",
12+
url = "https://github.com/weizhou0/SAIGEQTL",
13+
textVersion = paste(
14+
"Zhou W, Cuomo A, Hu L (2025).",
15+
"SAIGEQTL: Scalable and Accurate Expression Quantitative Trait Locus Mapping for Single-Cell Studies.",
16+
"R package. https://github.com/weizhou0/SAIGEQTL"
17+
)
18+
)

tests/testthat.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file is part of the standard testthat setup
2+
library(testthat)
3+
library(SAIGEQTL)
4+
5+
test_check("SAIGEQTL")

tests/testthat/test-placeholder.R

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Placeholder test file
2+
# Add your unit tests here
3+
4+
test_that("package loads correctly", {
5+
6+
expect_true(requireNamespace("SAIGEQTL", quietly = TRUE))
7+
})

vignettes/SAIGEQTL-quickstart.Rmd

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
title: "SAIGEQTL: Quick Start Guide"
3+
author:
4+
- name: Wei Zhou
5+
- name: Anna Cuomo
6+
- name: Linfeng Hu
7+
date: "`r Sys.Date()`"
8+
output:
9+
BiocStyle::html_document:
10+
toc: true
11+
toc_depth: 2
12+
vignette: >
13+
%\VignetteIndexEntry{SAIGEQTL: Quick Start Guide}
14+
%\VignetteEngine{knitr::rmarkdown}
15+
%\VignetteEncoding{UTF-8}
16+
---
17+
18+
```{r setup, include=FALSE}
19+
knitr::opts_chunk$set(
20+
echo = TRUE,
21+
eval = FALSE,
22+
message = FALSE,
23+
warning = FALSE
24+
)
25+
```
26+
27+
# Introduction
28+
29+
SAIGEQTL implements the Scalable and Accurate Implementation of Generalized
30+
Poisson mixed model for expression quantitative trait locus (eQTL) mapping
31+
at the single-cell level.
32+
33+
This vignette provides a quick start guide to using SAIGEQTL for eQTL
34+
analysis.
35+
36+
## Installation
37+
38+
```{r install, eval=FALSE}
39+
# From Bioconductor (when available)
40+
if (!require("BiocManager", quietly = TRUE))
41+
install.packages("BiocManager")
42+
43+
BiocManager::install("SAIGEQTL")
44+
```
45+
46+
## Loading the Package
47+
48+
```{r load}
49+
library(SAIGEQTL)
50+
```
51+
52+
# Workflow Overview
53+
54+
A typical SAIGEQTL analysis consists of two main steps:
55+
56+
1. **Fit the null model** using `fitNULLGLMM_multiV()`
57+
2. **Perform association testing** using `SPAGMMATtest()`
58+
59+
## Step 1: Fit the Null Model
60+
61+
The null model accounts for population structure and relatedness using a
62+
genetic relationship matrix (GRM).
63+
64+
```{r fit-null, eval=FALSE}
65+
# Example: Fit null model
66+
# fitNULLGLMM_multiV(
67+
# phenoFile = "phenotype.txt",
68+
# phenoCol = "expression",
69+
# covarColList = c("age", "sex", "PC1", "PC2"),
70+
# sampleIDColinphenoFile = "sample_id",
71+
# ...
72+
# )
73+
```
74+
75+
## Step 2: Perform Association Testing
76+
77+
After fitting the null model, perform variant-level or region-based
78+
association testing.
79+
80+
```{r test, eval=FALSE}
81+
# Example: Run association test
82+
# SPAGMMATtest(
83+
# modelFile = "null_model.rda",
84+
# genoFile = "genotypes.bgen",
85+
# outputFile = "results.txt",
86+
# ...
87+
# )
88+
```
89+
90+
# Additional Resources
91+
92+
For detailed documentation and examples, please see:
93+
94+
- Package documentation: `?fitNULLGLMM_multiV`, `?SPAGMMATtest`
95+
- GitHub repository: <https://github.com/weizhou0/SAIGEQTL>
96+
97+
# Session Information
98+
99+
```{r sessionInfo, eval=TRUE}
100+
sessionInfo()
101+
```

0 commit comments

Comments
 (0)