Created
March 8, 2025 23:22
-
-
Save vjcitn/7580b425341eab756fd62b59d10faae7 to your computer and use it in GitHub Desktop.
pull lung samples from atlas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(cellNexus) | |
library(dplyr) | |
md = get_metadata() | |
dd = md |> filter(disease=="normal", tissue %in% c("lung", "lung_parenchyma", "lung_epithelium")) | |
lungsce1M = get_single_cell_experiment(dd) | |
HDF5Array::setAutoBlockSize(size = 1e+09) | |
lungsce1M |> | |
HDF5Array::saveHDF5SummarizedExperiment( | |
"lungSCEnorm", | |
replace = TRUE, | |
as.sparse = TRUE, | |
verbose = TRUE | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment