make_cellontology: make_cellontology

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

make cell ontology variable from cell ontology file

Usage

1
make_cellontology(cell_ontology, celltype = c())

Arguments

cell_ontology

cell_ontology file which is composed of celltype and description of corresponding celltype separated by |

celltype

extract the cell_ontology with a given celltype list or use all the celltypes

  • c(): use all the cell types in cell_ontology file

  • celltype -> celltype: use only the cell types in cellname variable

Value

a julia object of cell ontology

Examples

1
2
3
4
5
6
cell_ontology <- make_cellontology("cell_ontology_file")
- using all the cell types in cell_ontology file

d <- make_input(input_var)
cell_ontology <- make_cellontology("cell_ontology_file", celltype = d$celltype)
- using only the cell types in the "d"

hemberg-lab/sctransfermap documentation built on Nov. 11, 2019, 6:23 a.m.