best_CV_estimation: best CV estimation

View source: R/cv_estimation_tag_functions.R

best_CV_estimationR Documentation

best CV estimation

Description

A function to select the best CV by combining the replicates in duplicates. The function has been build for up to to 3 replicates so far

Usage

best_CV_estimation(dataCV, slide_id, lab_replicates, cv_cut_off)

Arguments

dataCV

A data frame

slide_id

A character string containing the identifier of the data frame variable.

lab_replicates

A numeric value indicating the number of lab replicates.

cv_cut_off

a numeric value for the CV cut off. Should be between 0-100

Details

Select set of replicates with the best CV

Value

A data frame with the best CV's estimated

Examples

dataC <- readr::read_csv(system.file("extdata",
 "dataC.csv", package="protGear"))
## this file has 3 lab replicates and the default names
dataCV <- cv_estimation(dataC  ,lab_replicates=3)
best_CV_estimation(dataCV,slide_id = "iden", lab_replicates = 3,
 cv_cut_off = 20)

Keniajin/protGear documentation built on Feb. 6, 2023, 6:28 p.m.