getGroups: Get or set groups

View source: R/globalAccess.R

getGroupsR 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

Note

Needs to be called inside a reactive function

See Also

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


nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.