For cell seg tables containing a single Phenotype column, this returns a vector containing all the non-blank phenotypes in the table. For cell seg tables containing multiple phenotype columns, it returns a vector with just the positive phenotypes.

unique_phenotypes(csd)

Arguments

csd

A cell seg table such as read by read_cell_seg_table.

Value

A named character vector containing the phenotype names.