Extracts the unique values of discrete features.

getFeatureValues(object, features, of_sample = NA)

Arguments

object

A valid spata-object.

features

The features of interest specified as a character vector.

of_sample

This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.

Value

A vector or a named list according to the length of features.