panc8_sub | R Documentation |
Human pancreatic islet cell datasets produced across four technologies, CelSeq (GSE81076) CelSeq2 (GSE85241), Fluidigm C1 (GSE86469), and SMART-Seq2 (E-MTAB-5061) from SeuratData package. For each data set in 'panc8', 200 cells were downsampled to form the panc8_sub
dataset.
A Seurat
object.
https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE81076 https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi https://www.ebi.ac.uk/arrayexpress/experiments/E-MTAB-5061/ https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi
## Not run:
if (interactive()) {
data("pancreas_sub")
if (!require("SeuratData", quietly = TRUE)) {
devtools::install_github("satijalab/seurat-data")
}
library(SeuratData)
library(Seurat)
suppressWarnings(InstallData("panc8"))
data("panc8")
set.seed(11)
cells_sub <- unlist(lapply(split(colnames(panc8), panc8$dataset), function(x) sample(x, size = 200)))
panc8_sub <- subset(panc8, cells = cells_sub)
panc8_sub <- panc8_sub[rowSums(panc8_sub@assays$RNA@counts) > 0, ]
panc8_sub <- panc8_sub[toupper(rownames(panc8_sub)) %in% toupper(rownames(pancreas_sub)), ]
panc8_sub <- UpdateSeuratObject(panc8_sub)
# usethis::use_data(panc8_sub, compress = "xz")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.