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)? FALSE by default
`category` | Character: data category (e.g. "Carcinoma 2016"); by default, it uses the selected 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

`getEvent`, `getClinicalMatchFrom`, `getGroups` and `getDifferentialSplicing`

[Package psichomics version 1.6.2 Index]