getGroups {psichomics} | R Documentation

## Get or set groups

### Description

Get or set groups

### Usage

    getGroups(
      type = c("Patients", "Samples", "ASevents", "Genes"),
      complete = FALSE,
      category = getCategory()
    )

    setGroups(
      type = c("Patients", "Samples", "ASevents", "Genes"),
      groups,
      category = getCategory()
    )

### Arguments

`type` | Character: type of groups (either `Patients`, `Samples`, `ASevents` or `Genes`)
`complete` | Boolean: return all the information on groups (`TRUE`) or just the group names and respective indexes (`FALSE`)?
`category` | Character: data category
`groups` | Matrix: groups of dataset

### Value

Getters return globally accessible data, whereas setters return `NULL` as they are only used to modify the Shiny session's state

### See Also

Other functions to get and set global variables: `getClinicalMatchFrom()`, `getDifferentialExpression()`, `getDifferentialSplicing()`, `getGlobal()`, `getHighlightedPoints()`, `getSelectedDataPanel()`

[Package psichomics version 1.20.2 Index]