-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move external data sets to ExperimentHub #114
Comments
I'll downsample the current vignette data so we can include it in the package |
this seems to work: # sample 1,000 cells from the splen_so object
library(Seurat)
download.file(
"https://djvdj-data.s3.us-west-2.amazonaws.com/splenocytes.zip",
"splenocytes.zip",
quiet = TRUE
)
unzip("splenocytes.zip", overwrite = FALSE)
# Load Seurat object
load("splenocytes/splen_so.rda")
set.seed(42)
# https://github.com/satijalab/seurat/issues/3108#issuecomment-685975338
splen_so_tiny <- splen_so[, sample(colnames(splen_so), size = 1000, replace=FALSE)]
# xz provides better compression than bzip2 default
usethis::use_data(splen_so_tiny, compress = 'xz') Would then need to take these cell barcodes and filter the 10x files |
You should shoot for 5 MB or less of packaged data. |
sheridar
added a commit
that referenced
this issue
Nov 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CRAN / Bioconductor won't allow downloading of external data; it won't pass their checks. We can't use
download.file
anywhere.Need to:
The text was updated successfully, but these errors were encountered: