View source: R/ELeFHAnt_Functions.R
BenchmarkELeFHAnt | R Documentation |
Celltype annotation is a function to annotate celltypes in a single cell datasets. Benchmark ELeFHAnt is an easy to use function if the user wants to compare the predictions from ELeFHAnt to Label Transfer and scPred
BenchmarkELeFHAnt( reference = reference, query = query, downsample = TRUE, downsample_to = 1000, selectvarfeatures = 2000, ntree = 500, annotationCol = "Celltypes" )
reference |
a processed Seurat Object with Celltypes column in metadata |
query |
a processed seurat object with seurat_clusters column in metadata |
downsample |
logical Indicator (TRUE or FALSE) to downsample reference, enabling fast computation. |
downsample_to |
a numerical value > 1 to downsample cells Default: 1000 |
selectvarfeatures |
number of variable features to select while training (Default: 2000) |
ntree |
number of trees randomForest classifier should build (Default: 500) |
annotationCol |
Name of column in metdata which has Celltypes information in reference Default: Celltypes |
query seurat object with predictions from ELeFHAnt, Label Transfer and scPred added to meta.data of the object
Praneet Chaturvedi & Konrad Thorner
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.