run_hsMetric_clustRank: run_hsMetric_clustRank

View source: R/UNMASC.R

run_hsMetric_clustRankR Documentation

run_hsMetric_clustRank

Description

Clusters sample metrics to identify outlier and reliable samples to establish a normal control cohort

Usage

run_hsMetric_clustRank(DATA, VARS, ID, TRIALS = 50, note = "")

Arguments

DATA

A data.frame of sample ID and metrics to cluster on

VARS

A character vector of at least two metrics to cluster on within DATA

ID

A character string specifying the column name in DATA that corresponds to sample ID.

TRIALS

An integer number of times to re-run the EM algorithm, more trials help to avoid using a sub-optimal solution.

note

A character string to label the plot title

Value

R data.frame of cluster results and sample labeling.


pllittle/UNMASC documentation built on June 1, 2025, 1 p.m.