kmeansCluster: kMeans cluster an intensity value

Description Usage Arguments Value

Description

Returns cluster assignments for intensity values based on a control ligand

Usage

1
kmeansCluster(x, value, ctrlLigand = "HighSerum")

Arguments

x

A dataframe or data.table

value

A character vector of one column name in x that conatins non-negative intensity values

ctrlLigand

A character vector of one Ligand name in x

Value

Cluster assignments of length nrow(x)for the value column based on a kmeans threshold calculated from the ligand values. The values are 1 for intensities above the threshold and 0 for values equal to or less than the trheshold.


markdane/MEMA documentation built on May 21, 2019, 11:48 a.m.