Retrieves a list of molecules sorted by molecular modality.

getMoleculeTypeList(object, molecules = NULL)

Arguments

object

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

molecules

A character vector specifying the subset of molecules to include in the output. By default, all molecules are included.

Value

A list containing the names of molecules categorized by type.

Details

This function categorizes molecules into different types based on the provided object. If the 'molecules' argument is provided as a character vector, the function returns only the specified molecules categorized by type. Otherwise, it returns all molecules categorized by type.