Skip to content

Commit

Permalink
Reduce runtime by storing 1vALL output
Browse files Browse the repository at this point in the history
  • Loading branch information
lahuuki committed Oct 18, 2024
1 parent eca461a commit 7b4ab56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Binary file added data/marker_stats_1vAll.RData
Binary file not shown.
9 changes: 8 additions & 1 deletion vignettes/Marker_Finding.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ is stored as `BrNum`.

Note this function can take a bit of time to run.

```{r `Run findMarkers_1vALL`}
```{r `Run findMarkers_1vALL`, eval=FALSE}
## Run 1vALL DE to find markers for each cell type
marker_stats_1vAll <- findMarkers_1vAll(
sce = sce, # sce is the SingleCellExperiment with our data
Expand All @@ -287,6 +287,13 @@ marker_stats_1vAll <- findMarkers_1vAll(
mod = "~BrNum" # Control for donor stored in "BrNum" with mod
)
```
```{r `load 1vALL data`, echo=FALSE}
# save(marker_stats_1vAll, file = here::here("data", "marker_stats_1vAll.RData"))
load(system.file("data", "marker_stats_1vAll.RData", package = "DeconvoBuddies"))
```


The function `findMarkers_1vALL()` returns a `tibble` with the following
columns:
Expand Down

0 comments on commit 7b4ab56

Please sign in to comment.