| .prepare_peaklist_columns | R Documentation |
Internal helper for as_peaklist() that ensures essential structural
columns required for UME processing are present. Specifically:
If file_id is missing but a character column such as file or
link_rawdata exists, file_id is generated as a unique integer
per distinct value in that column.
If no such identifier exists, file_id := 1L is assigned.
Adds peak_id if missing (using .I)
Converts file_id to integer type
.prepare_peaklist_columns(pl)
pl |
A |
A data.table with guaranteed core columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.