DECODER.user: Construct cell type-specific reference when ref==user

Description Usage Arguments Value Examples

View source: R/DECODER_function.R

Description

This function is used to construct scATAC-seq reference when ref==user.

Usage

1
DECODER.user(singlecell.dataset, celltype.idx)

Arguments

singlecell.dataset

scATAC-seq raw count matrix.

celltype.idx

Cell type labels of scATAC-seq. DECODER will cluster the scATAC-seq data when equal to NULL.

Value

res

if celltype.idx==NULL, res is a list containing reference of optimal cluster number k and reference of each k from 2 to 50; otherwise res is a reference matrix.

Examples

1
2
3
4
## Not run: 
res<-DECODER.user(singlecell.dataset,celltype.idx)

## End(Not run)

jwyang16/DECODER documentation built on Nov. 4, 2019, 3:28 p.m.