Learn R Programming

ALLSPICER (version 0.1.9)

get_ac_mat: get_ac_mat

Description

simulation function: simulate allele count information for `n_var` variants, with a maximum allele count `max_cnt`

Usage

get_ac_mat(n_var, max_cnt = 100)

Value

A `n_var`x`n_var` diagnal matrix of allele count information for `n_var` variants

Arguments

n_var

total number of variants

max_cnt

maximum allele count, default 100

Examples

Run this code
ac_mat <- get_ac_mat(n_var=100, max_cnt = 100)

Run the code above in your browser using DataLab