activate.HCAExplorer {HCAExplorer} | R Documentation |
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.
## S3 method for class 'HCAExplorer' activate(.data, what = c("projects", "samples", "files"))
.data |
An HCAExplorer object |
what |
character(1). Either 'projects', 'samples', or 'files'. |
An HCAExplorer object with medified activation.
HCAExplorer
for the HCAExplorer class.
## 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