sim_init: Simulation initialisation

Description Usage Arguments Details Value Examples

Description

Before the actual simulation procedure can start, statistical distributions of the original mapping results must be calculated by the function sim_init. The statistical distributions from the sam-files will be stored in the RDS objects directory, for each NGS run separately.

Usage

1
sim_init(file_indices = rep(NA_integer_, 0), type_of_sam_file)

Arguments

file_indices

Indices of the sam-files to be analysed

type_of_sam_file

"init" for original sam-file or "sim" for sam-file of simulated fastq-files.

Details

Before using the function sim_init, the functions create_directories_and_file_paths and extract_information_from_reference_genome must be executed.

Value

None

Examples

1
2
## Not run: sim_init(file_indices=1,type_of_sam_file="init") # Processing takes a few minutes of time!
## Not run: sim_init(file_indices=1,type_of_sam_file="sim") # Execute after mapping simulated fastq-files!

Moritz-Kohls/virDisco2 documentation built on Feb. 13, 2020, 12:32 a.m.