recolor_comb: recolor_comb

Description Usage Arguments Value

View source: R/recolor.R

Description

Recolor the combined sample based on the matching results from recolor_s.

Usage

1
2
recolor_comb(comb_obj, new_group_list, output, comb_delim = "-",
  color = NULL)

Arguments

comb_obj

A Seurat object for the combined sample. Cells in different samples are labelled by the sample names with the comb_delim.

new_group_list

A list of vectors of new group assignment outputted from recolor_s.

output

The output directory to save the plot.

comb_delim

The delimiter used in the cell names in the combined object to connect sample name and cell name in individual sample. DEFAULT is '-'.

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.