forked from jinworks/scAB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
64 lines (49 loc) · 1.56 KB
/
README.Rmd
File metadata and controls
64 lines (49 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# scAB detects multiresolution cell states with clinical significance by integrating single-cell genomics and bulk sequencing data
Forked from [scAB](https://github.com/jinworks/scAB), see [SigBridgeR](https://github.com/WangLabCSU/SigBridgeR) for the usage of scAB. Independently usage of scAB is also viable.
## News:
- 2025-11-21:
- Tweaks for performance when selecting optimal alpha
- 2025-11-18:
- tweaks for performance
- deleted tutorial data and preprocessing code
- writed some documentation
- added some functions
## Installation
scAB package can be easily installed from Github using `pak`:
```{r,eval=FALSE}
pak::pkg_install("Exceret/scAB")
```
Install with `ARMA_64BIT_WORD` enabled:
```{r,eval=FALSE}
repo_url <- "https://github.com/Exceret/scAB.git"
pkg_path <- file.path(tempdir(), "scAB")
system2("git", c("clone", repo_url, pkg_path))
makevars_file <- if (.Platform$OS.type == "windows") {
file.path(pkg_path, "src", "Makevars.win")
} else {
file.path(pkg_path, "src", "Makevars")
}
if (file.exists(makevars_file)) {
lines <- readLines(makevars_file)
lines <- gsub(
"^(PKG_CXXFLAGS.*)$",
"\\1 -DARMA_64BIT_WORD",
lines
)
writeLines(lines, makevars_file)
}
devtools::install(pkg_path, build_vignettes = FALSE)
```
see `DESCRIPTION` for more details