getFeatureValues: Obtain unique categorical feature values

View source: R/getA-G.R

getFeatureValuesR Documentation

Obtain unique categorical feature values

Description

Extracts the unique values of discrete features.

Usage

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.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.