collapse.aspect.clusters {pagoda2}R Documentation

Collapse aspect patterns into clusters

Description

Collapse aspect patterns into clusters

Usage

collapse.aspect.clusters(d, dw, ct, scale = TRUE, pick.top = FALSE)

Arguments

d

matrix of normalized aspect patterns (rows: significant aspects, columns: cells), normally the output $xv in 'tamr', the combined pathways that show similar expression patterns

dw

corresponding weight matrix to parameter 'd'

ct

clusters, the output of fastcluster::hclust()

scale

boolean Whether to scale aspects (default=TRUE)

pick.top

boolean Whether to pick top aspects (default=FALSE)

Value

list of clusters from matrix of normalized aspect patterns and clusters from the corresponding weight matrix


[Package pagoda2 version 1.0.12 Index]