sim_lfq_data_2Factor_config: Simulate data, protein, with config with 2 factros Treatment...

View source: R/simulate_LFQ_data.R

sim_lfq_data_2Factor_configR Documentation

Simulate data, protein, with config with 2 factros Treatment and Background

Description

Simulate data, protein, with config with 2 factros Treatment and Background

Usage

sim_lfq_data_2Factor_config(
  Nprot = 10,
  with_missing = TRUE,
  weight_missing = 0.2,
  PEPTIDE = FALSE,
  seed = 1234,
  TWO = TRUE
)

Arguments

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

Examples

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()

wolski/prolfqua documentation built on Sept. 7, 2024, 3:06 a.m.