getFeatureVariables: Obtain a feature variable

View source: R/get-family.R

getFeatureVariablesR Documentation

Obtain a feature variable

Description

Extracts the specified feature variables from the feature data.

Usage

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

Arguments

object

A valid spata-object.

features

The features of interest specified as a character vector.

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.

return

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

unique

Deprecated.

Value

A data.frame or a vector.


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