gen_error_profile_uniform: Generates a read error profile by assigning a constant...

Description Usage Arguments

View source: R/sim_read.R

Description

Generates a read error profile by assigning a constant probability of an error at all positions

Usage

1
2
gen_error_profile_uniform(read_len, A_err_rates, C_err_rates, G_err_rates,
  T_err_rates)

Arguments

read_len

The length of the profile

A_err_rates

The probabilities that an A will be read as each of the four nucleotides. Must sum to 1.

C_err_rates

The probabilities that a C will be read as each of the four nucleotides. Must sum to 1.

G_err_rates

The probabilities that a G will be read as each of the four nucleotides. Must sum to 1.

T_err_rates

The probabilities that a T will be read as each of the four nucleotides. Must sum to 1.


philliplab/MotifBinner documentation built on Sept. 2, 2020, 11:41 a.m.