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

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.

Value

A list containing the names of variables categorized by type.

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.