activate.HCAExplorer {HCAExplorer}R Documentation

Activate projects, samples, or files to display in the HCAExplorer Object

Description

The HCAExplorer can display its results in a variety of ways. Choose whether to display entries by project, samples, or files. The HCAExplorer class always defaults to projects.

Usage

## S3 method for class 'HCAExplorer'
activate(.data, what = c("projects", "samples",
  "files"))

Arguments

.data

An HCAExplorer object

what

character(1). Either 'projects', 'samples', or 'files'.

Value

An HCAExplorer object with medified activation.

See Also

HCAExplorer for the HCAExplorer class.

Examples

 ## Initiate an HCAExplorer object.
 x <- HCAExplorer()
 ## Display the object. Notice "projects" are shown by default.
 x

 ## Now activate "samples" and now notice that "samples" are displayed.
 x <- activate(x, 'samples')
 x

 ## Now activate "files" and now notice that "files" are displayed.
 x <- activate(x, 'files')
 x

 ## Now activate "projects" and now notice that the original "projects" are
 ## displayed.
 x <- activate(x, 'projects')
 x


[Package HCAExplorer version 1.0.0 Index]