# Make consensus clusters across multiple samples.

`consensusCluster.Rd`

Makes consensus clusters from multiple samples in TSSr object and calculates inter-quantile positions within consensus clusters for each sample.

    consensusCluster(object, dis = 50
    , useMultiCore=TRUE, numCores = NULL)

    # S4 method for TSSr
    consensusCluster(object, dis = 50, useMultiCore = TRUE, numCores = NULL)

## Arguments

object | A TSSr object.
dis | Minimum distance between two peaks to be aggregated together into the same consensus cluster.
useMultiCore | Logical indicating whether multiple cores are used (TRUE) or not (FALSE). Default is FALSE.
numCores | Number of cores are used in clustering step. Used only if useMultiCore = TRUE. Default is NULL.

## Examples

    # \donttest{
    consensusCluster(exampleTSSr,useMultiCore=FALSE)#>
    #> Creating consensus clusters...# }