activate.HCAExplorer: Activate projects, samples, or files to display in the...

Description Usage Arguments Value See Also Examples

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

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 ## 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

HCAExplorer documentation built on Nov. 8, 2020, 5:45 p.m.