cell_annotation_labels_fn: Create a named list of cell labels returned from...

View source: R/cell_annotation.R

cell_annotation_labels_fnR Documentation

Create a named list of cell labels returned from SingleR::SingleR().

Description

SingleR::SingleR() returns three types of cell labels. In the returned list from this function, names of those are prefixed by a reference dataset's name and modified such that:

  • first.labels ("raw" labels) -> ⁠<reference_name>_labels_raw⁠

  • labels (fine-tuned, unpruned labels) -> ⁠<reference_name>_labels⁠

  • pruned.labels (fine-tuned and pruned labels) -> ⁠<reference_name>_labels_pruned⁠

Pruned labels contain NAs for low quality labels.

Usage

cell_annotation_labels_fn(cell_annotation)

Arguments

cell_annotation

(input target) A tibble.

Value

A named list. Output target: cell_annotation_labels


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.