randomly_fix: Randomly correct aberrant digestion sites

Description Usage Arguments

View source: R/processVCFfast.R

Description

For a SNP with aberrant digestion sites in the context, randomly change bases in the site across barcodes

Usage

1
randomly_fix(snp, res_df, dig_patterns, dig_site_locations)

Arguments

snp

a data_frame of one SNP #' @param nper The number of barcoded sequences to be generated per allele per SNP

upstreamContextRange

the amount of sequence context to acquire upstream of the SNP

downstreamContextRange

the amount of sequence context to acquire downstream of the SNP

fwprimer

a string containing the forward PCR primer to be used

revprimer

a string containing the reverse PCR primer to be used


andrewGhazi/mpradesigntools documentation built on Dec. 21, 2020, 3:18 p.m.