Skip to content

Commit

Permalink
[ci-skip] Ensure reproducibility of scRNA
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendra-mariadassou committed Jan 23, 2024
1 parent 9366101 commit 121c426
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ src/*.dll
# Plot in testthat
tests/testthat/Rplots.pdf

# Raw data files
data-raw/*.Rdata

# Mac bullsh.
.DS_Store

Expand Down
6 changes: 5 additions & 1 deletion data-raw/scRNA.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ library(scater) # bioManager::install("scater")
library(ggplot2) # install.packages("ggplot2")

## get data from "https://github.com/LuyiTian/sc_mixology/raw/master/data/sincell_with_class_5cl.RData")
load("~/Downloads/sincell_with_class_5cl.RData")
if (!file.exists("data-raw/sincell_with_class_5cl.RData")) {
download.file(url = "https://github.com/LuyiTian/sc_mixology/raw/master/data/sincell_with_class_5cl.RData",
destfile = "data-raw/sincell_with_class_5cl.RData")
}
load("data-raw/sincell_with_class_5cl.RData")


sce_qc <- computeSumFactors(sce_sc_10x_5cl_qc)
Expand Down

0 comments on commit 121c426

Please sign in to comment.