marginalize_sfs: Get an SFS with reduced dimensions

Description Usage Arguments Value

Description

Get an SFS with reduced dimensions

Usage

1
marginalize_sfs(sfs, dims = 1, persite = FALSE, ...)

Arguments

sfs

an SFS

dims

indices over which to sum up allele frequencies

persite

logical; if TRUE, divide by the total number of sites

...

ignored

Value

an SFS of reduced dimension, produced by "marginalizing out" (ie. just summing over) one or more populations


andrewparkermorgan/sfsr documentation built on May 10, 2019, 11:10 a.m.