Learn R Programming

Qploidy (version 1.0.1)

simulate_axiom_summary: Simulate an Axiom array summary file

Description

This function generates a simulated Axiom array summary file with probe IDs ending in `-A` or `-B` and sample intensities. The intensities are simulated based on the genotype of the sample: homozygous for A, homozygous for B, or heterozygous.

Usage

simulate_axiom_summary(file_path, n_probes = 100, n_samples = 10, seed)

Value

None. The function writes the simulated summary content to the specified file.

Arguments

file_path

The path where the simulated summary file will be saved.

n_probes

Number of probes to simulate. Default is 100.

n_samples

Number of samples to simulate. Default is 10.

seed

The seed for random number generation to ensure reproducibility.