clusters: Extracting cluster memberships
Description
This function extracts a vector with MAP cluster
memberships assignments from the 'bnclustOmics' object
Usage
clusters(x, consensus = FALSE)
Value
a vector of length of the number of observations corresponding to cluster assignments obtained by bnclustOmics
Arguments
- x
object of class 'bnclustOmics'
- consensus
logical, indicates if consensus clusters will be extracted; FALSE by default