load_cell_data_checkid: Check UCID-T.FRAME unicity

View source: R/load_cell_data.R

load_cell_data_checkidR Documentation

Check UCID-T.FRAME unicity

Description

The ucid-t.frame combination should be unique. Else there might be a problem (e.g. redundant matches in pdata).

Usage

load_cell_data_checkid(cdata, id_cols = c("ucid", "t.frame"))

Arguments

cdata

The "data" item of the list produced by load_cell_data or get_cell_data.

id_cols

Character vector with the column names of cdata that must identify rows uniquely. Defaults to the usual ucid-t.frame combination.

Value

Invisibly returns a named list with the test result ("all_unique": boolean) and the summarized dataframe ("cdata_summary": data.frame) used for checking. Any value of n_rows > 1 is problematic.


darksideoftheshmoo/rcell2 documentation built on Oct. 23, 2024, 12:59 p.m.