gp_unravel: Turn data from 'plate form' to 'tidy form' and back

View source: R/gp_unravel.R

gp_unravelR Documentation

Turn data from 'plate form' to 'tidy form' and back

Description

Turn data from 'plate form' to 'tidy form' and back

Usage

gp_unravel(df, rownames = NULL)

gp_reravel(df, row_name = ".row", col_name = ".col", values = "value")

Arguments

df

The data.frame in plate-form to be tidied

rownames

Optional character. If there is a colname that specifies the row index, it will be arranged by this column, then dropped.

Value

a tibble

Examples


test_plate <- matrix(sample(1:10, 96, replace = TRUE), nrow = 8, ncol = 12)

gp_unravel(test_plate)

KaiAragaki/Plate documentation built on Sept. 2, 2024, 3:39 a.m.