View source: R/simulate_LFQ_data.R
sim_lfq_data_2Factor_config | R Documentation |
Simulate data, protein, with config with 2 factros Treatment and Background
sim_lfq_data_2Factor_config(
Nprot = 10,
with_missing = TRUE,
weight_missing = 0.2,
PEPTIDE = FALSE,
seed = 1234,
TWO = TRUE
)
with_missing |
add missing values, default TRUE |
seed |
seed for reproducibility, if NULL no seed is set. |
TWO |
use two factors for modellin |
description |
Nprot number of proteins |
x <- sim_lfq_data_2Factor_config(PEPTIDE= FALSE)
dim(x$data)
stopifnot("data.frame" %in% class(x$data))
stopifnot("AnalysisConfiguration" %in% class(x$config))
x <- sim_lfq_data_2Factor_config(PEPTIDE = TRUE)
head(x$data)
x <- sim_lfq_data_2Factor_config(PEPTIDE = TRUE, TWO = TRUE)
x$data$Group |> table()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.