Coerce cluster_table to a Flat data.frame
Source:R/cluster_table_format.R
as.data.frame.cluster_table.RdProduces a flat data.frame suitable for table rendering. Cluster rows have
all columns populated; sub-peak rows have k and volume_mm3
set to NA.
Usage
# S3 method for class 'cluster_table'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
max_clusters = 30L,
max_sub_peaks = 3L,
...
)