simulateSNPindex: Simulates a delta SNP-index with replication

Description Usage Arguments Value

View source: R/takagi_sim.R

Description

Simulates a delta SNP-index with replication

Usage

1
2
simulateSNPindex(depth, altFreq1, altFreq2, replicates = 10000,
  filter = NULL)

Arguments

depth

integer. A read depth for which to replicate SNP-index calls.

altFreq1

numeric. The alternate allele frequency for bulk A.

altFreq2

numeric. The alternate allele frequency for bulk B.

replicates

integer. The number of bootstrap replications.

filter

numeric. an optional minimum SNP-index filter

Value

Returns a vector of length replicates delta SNP-indeces


bmansfeld/QTLseqr documentation built on Jan. 24, 2020, 3:56 p.m.