build_data_for_dewarping: Create data for Bayesian 2D dewarping

Description Usage Arguments Value

View source: R/preprocess.R

Description

Construct data frame that store all detected bands (NB: the result can be trimmed to exclude specific rows.)

Usage

1
build_data_for_dewarping(score_mat_list, analysis_id, rf_grid, N_g_vec)

Arguments

score_mat_list

A list of matrices. Each matrxi has B rows and N_g columns. NA means non-peaks, a number, usually 3, represents peaks.

analysis_id

choose the gels in this analysis; user's choice.

rf_grid

A vector of length B (=670) equal-spaced grid from 0 to 1.

N_g_vec

A named numeric vector showing the number of lanes (incl. Lane 1s) for each gel with the name being the original ID before being subset by analysis_id.

Value

A data frame comprised of 5 elements:


oslerinhealth/spotgear documentation built on May 25, 2021, 10:38 p.m.