recolor_s: recolor_s

Description Usage Arguments Value

View source: R/recolor.R

Description

Recolor a single sample based on the matching results from cluster_map_by_marker.

Usage

1
recolor_s(mapRes_sub, obj, output, color = NULL)

Arguments

mapRes_sub

A vector of the column named by the sample in the output of cluster_map_by_marker, with the regroup column as the vector name.

obj

A Seurat object for the sample.

output

The output directory to save the plot.

color

A vector of colors used to recolor the new groups. DEFAULT is NULL. Pre defined internal color will be used.

Value

A vector of new group labels with the cell name as the vector name.


xgaoo/ClusterMap documentation built on Oct. 9, 2021, 5:31 a.m.