merge_zeisel_celltypes: Given a list of data from each celltype, keep only the...

Description Usage Arguments Value Examples

View source: R/merge_zeisel_celltypes.r

Description

merge_zeisel_celltypes

Usage

1
2
3
4
merge_zeisel_celltypes(
  allExp,
  useCells = c("TEGLU1", "TEGLU2", "MGL1", "MOL1")
)

Arguments

allExp

A list, where each entry has a matrix

useCells

vector of cells for filtering. Default TEGLU1,TEGLU2,MGL1,MOL1

Value

A list containing $exp with the sparse matrix and $annot with annot data

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# create a temporary directory
td = tempdir()
# create the placeholder file
tf = tempfile(tmpdir=td, fileext=".zip")
# download into the placeholder file
download.file("https://storage.googleapis.com/linnarsson-lab-loom/l5_all.loom", tf)
zeisel2018 = prep_zeisel2018()
keptExp = merge_zeisel_celltypes(allExp,useCells=c("TEGLU1","TEGLU2","MGL1","MOL1"))

## End(Not run)

neurogenomics/scFlowExamples documentation built on Dec. 22, 2021, 1:13 a.m.