dot-multi_frame_matrix_from_df: Create a multi-frame matrix from a dataframe.

.multi_frame_matrix_from_dfR Documentation

Create a multi-frame matrix from a dataframe.

Description

Creats a matrix with each row being a time point in a multi-frame experiment, and each column is a single well. The columns are concatenated by row (ordered A1, A2, ... B1, B2, ...).

Usage

.multi_frame_matrix_from_df(
  data,
  value,
  time = "time",
  well = "well",
  arrange = FALSE
)

Arguments

data

A dataframe with columns for the value, time and well ID.

value

Name of the column which contains the values for the matrix.

time

Name of the column which defines the time points for the frames (rows) of the matrix.

well

Name of the column which contains the well IDs of the samples.

arrange

Logical, whether to return a dataframe arranged by time and well.

Value

a matrix, with


BradyAJohnston/reluxr documentation built on March 20, 2023, 5:09 a.m.