Description Usage Arguments Value Author(s)
K-means classify a data frame where the droplets are negative in the same channels only.
1 2 3 4 5 6 7 | .classifyDfOnChannel(
df,
channel,
centres = NULL,
minSeparation = 2000,
fullTable = TRUE
)
|
df |
A data frame corresponding to a well with droplets corresponding only to "NN" and "NP" or "NN" and "PN". |
channel |
The channel on which to classify (1 or 2). |
centres |
A data frame of centres. The data frame should have columns
|
minSeparation |
The minimum distance required between two cluster centres in order for us to assume that k-means found two distinct clusters. Defaults to 2000. |
fullTable |
Whether to return a full table or just a vector. Defaults to 'TRUE' |
A classification for df
.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.