getVarTypeList: Get variable type list

getVarTypeListR Documentation

Get variable type list

Description

Retrieves a list of variable types present in the SPATA2 object.

Usage

getVarTypeList(object, variables = NULL)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

variables

A character vector specifying the subset of variables to include in the output. By default, all variables known to the object are returned in the output list.

Details

This function categorizes variables into different types, including spatial coordinates, molecules, signatures, meta features, and additional information like barcodes and sample identifiers. If the 'variables' argument is provided as a character vector, the function returns only the specified variables categorized by type. Otherwise, it returns all variables categorized by type.

Value

A list containing the names of variables categorized by type.

See Also

getCoordsDf(), getMetaDf()


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.