quick_prediction: quick_prediction

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

user-friendly quick prediction for single-cell data side-information is cell ontology

Usage

1
quick_prediction(input_var, name, opt = "consensus")

Arguments

input_var

matrix class composed of gene/peak_location(row)-by-cell(column)
- same as result of importdata or convert_seurat

name

any name that user wants for the result

opt

prediction mode whether "consensus" or "logistic"

Value

a result of predicted cell types for each query cell cluster

Examples

1
2
3
4
result <- quick_prediction(matrix, "single-cell")
- prediction by consensus results of ZSL
result <- quick_prediction(matirx, "single-cell", opt = "logistic")
- prediction by logistic regression

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