getFeatureValues: Obtain unique categorical feature values

View source: R/get-family.R

getFeatureValuesR Documentation

Obtain unique categorical feature values

Description

Extracts the unique values of discrete features.

Usage

getFeatureValues(object, of_sample = "", features)

Arguments

object

A valid spata-object.

of_sample

The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen.

features

The features of interest specified as a character vector.

Value

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


kueckelj/SPATA documentation built on March 22, 2022, 9:59 p.m.