wipeExcept: Wipe all biclustering results except one

Description Usage Arguments Value Examples

Description

Returns a BiclusterExperiment with the same data and metadata as bce, but with BiclusterExperiment@strategies containing the single specified BiclusterStrategy instance. The BiclusterStrategy to preserve can be specified by name, by index, or by reference to an identical BiclusterStrategy. This function is useful for isolating your "favorite" biclustering result.

Usage

1
2
3
4
wipeExcept(bce, bcs)

## S4 method for signature 'BiclusterExperiment'
wipeExcept(bce, bcs)

Arguments

bce

A BiclusterExperiment-class object

bcs

A BiclusterStrategy-class object in bce@strategies, or the name or index of an object in bce@strategies

Value

A BiclusterExperiment object

Examples

1
2
3
4
bce <- BiclusterExperiment(yeast_benchmark[[1]])
bce <- addStrat(bce, k = 2, method = "als-nmf")
bce <- addStrat(bce, k = 5, method = "als-nmf")
wipeExcept(bce, 2) # preserves the second BiclusterStrategy

jonalim/mfBiclust documentation built on May 4, 2019, 4:13 a.m.