create_pcg | R Documentation |
Compares the centroid of each cluster within a gene and combines the two
clusters if the centroids fall within the specified threshold. The clusters
are combined by creating a new cluster membership variable pcGroup
.
create_pcg(x, errors, n_mme_sd = 3, n_Da = 4, n_rt_sd = 3)
x |
A |
errors |
A |
n_mme_sd |
The number of standard deviations used to create an envelope around a cluster's centroid in mass space. The standard deviation is in ppm. This threshold will be used to determine if two clusters will be combined. |
n_Da |
The number of Daltons used to create an envelope around a
cluster's centroid in mass space. Any cluster whose centroid falls within
this envelope will be included in the pool of clusters that could be
combined. This value is used to account for isotopic error and is separate
from |
n_rt_sd |
The number of standard deviations used to create an envelope around a cluster's centroid in retention time space. Any cluster whose centroid falls within this envelope will be included in the pool of clusters that could be combined. |
A data.table
with the updated cluster assignment for each
gene/cluster combination.
Evan A Martin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.