define_cell_samples: Define the cells sample names and map the cell colors to some...

Description Arguments

Description

Define the cells sample names and map the cell colors to some of their metadata.

Arguments

sample_feature

a character vector of cell features. Must be included in the column names of the cell metadata matrix.

color_mapping

a character vector having the same length as 'sample_features' and whose values are all different and either 'Hue', 'Saturation' or 'Value'. If NULL (default) the colors are chosen randomly.

seed

an integer setting the seed for random color generation.


juliendelile/Antler documentation built on June 19, 2021, 9 a.m.