Description Usage Arguments Details Value Author(s) See Also Examples
Selection of the final classification of the peaks, given the desired number of clusters and the presence or absence of the alignment procedure chosen. This choice is usually driven by the graph returned by cluster_peak.
1 2 |
object |
GRanges object. It must contain the metadata columns
associated to the chosen classification. Further details are provided in |
k |
integer. Number of chosen clusters. |
shift.peak |
logical. If |
cleaning |
logical. If |
The choice of the optimal number of clusters and the presence of alignment can be guided by the graph plotted in the cluster_peak method. In particular, for the optimal number of clusters k the distance significantly decreases with respect to the lower values of k, and negligibly increases with respect to higher values of k (elbow in the line). The introduction of the alignment leads to better clustering of the data if if the global distance is significantly lowered. registration.
if cleaning = FALSE
,
the GRanges object
with a new metadata column:
cluster
integer. The label
correspondent to the classification chosen
If cleaning = TRUE
, all the metadata columns added through all the
analysis are removed and object
is returned with just the metadata column
cluster
Alice Parodi, Marco J. Morelli, Laura M. Sangalli, Piercesare Secchi, Simone Vantini
cluster_peak
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.