Learn R Programming

BREADR (version 1.0.2)

sim_geno: sim_geno

Description

Simulated geno file of eigenstrat format

Usage

sim_geno(n_ind, n_snp, filename)

Value

NULL exports a file

Arguments

n_ind

number of individuals

n_snp

number of SNPs

filename

filename of export

Examples

Run this code
if (FALSE) {
sim_geno(10, 5, "geno.txt")
}

Run the code above in your browser using DataLab