ObservedLogW: Compute log observed sum of pairwise distances for a given...

Description Usage Arguments Examples

View source: R/ObservedLogW.R

Description

This function computes log observed sum of pairwise distances for a given grouping. It first computes the sum of pairwise distances for each group (cluster) and then takes log for the sum of sums acros all groups.

Usage

1
ObservedLogW(X, one.clustering)

Arguments

X

a numeric matrix. Columns are samples and rows are dimensions.

one.clustering

a vector indicating the clustering membership for each data point

Examples

1
ObservedLogW(pc.ranges, one.clustering)

NHLBI-BCB/IKAP documentation built on March 21, 2020, 8:08 p.m.