View source: R/cv_by_sample_estimation.R
cv_by_sample_estimation | R Documentation |
A function to give the summary of the CV's by the sampleID
cv_by_sample_estimation( dataCV, cv_variable, lab_replicates, sampleID_var = "sampleID" )
dataCV |
A dataframe |
cv_variable |
A character string containing the identifier of the variable with CV values. |
lab_replicates |
A numeric value indicating the number of lab replicates. |
sampleID_var |
A character string containing the name of the sample identifier variable. Default set to 'sampleID' |
Summarise CV by samples
A data frame of CV calculated by sample
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) cv_by_sample_estimation(dataCV, cv_variable = "cvCat_all", lab_replicates = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.