getFeatureVariables: Obtain a feature variable

View source: R/getA-G.R

getFeatureVariablesR Documentation

Obtain a feature variable

Description

Extracts the specified feature variables from the feature data.

Usage

getFeatureVariables(
  object,
  features,
  return = "data.frame",
  unique = "deprecated",
  of_sample = NA
)

Arguments

object

A valid spata-object.

features

The features of interest specified as a character vector.

return

Character value. One of 'vector', 'data.frame' or 'list'. In order to return a vector the input of features must be of length one.

of_sample

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

Value

A data.frame or a vector.


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