SimParam_removeSnpChip {AlphaSimR}R Documentation

Remove SNP chip

Description

Removes designated SNP chip(s).

Arguments

chips

a vector of SNP chips to remove

force

should the check for a running simulation be ignored. Only set to TRUE if you know what you are doing.

Usage

SP$removeSnpChip(chips, force = FALSE)

Examples

#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)

#Set simulation parameters
SP = SimParam$new(founderPop)
SP$addSnpChip(10)
SP$nSnpChips
SP$removeSnpChip(1)
SP$nSnpChips


[Package AlphaSimR version 0.10.0 Index]