generate.geno.matrix: Generate genotype matrix for given number of mutations.

Description Usage Arguments Details Value See Also Examples

View source: R/simulate_data_fnxs.R

Description

Generate genotype matrix for given number of mutations.

Usage

1

Arguments

n

Number of mutations.

Details

Used when simulating data for a complete network. Generally called internally during simulations to create matrix for which fitness values will then be simulated. Minimum value of n is 2.

Value

Matrix with all genotypes made of n mutations. Each column is a mutation (0=absent, 1=present), rows are genotypes.

See Also

sim.stick.data

Examples

1

jtvanleuven/Stickbreaker documentation built on May 20, 2019, 3:18 a.m.