to_pedtools_markers: Convert a 'freqt' object to a list of marker objects

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

This function converts a frequency table object into a list of pedtools marker objects.

Usage

1

Arguments

x

a freqt object

ped

a ped object

scale

wether to scale allele frequencies so that they sum up to one (which is required by pedtools)

Value

a list of marker objects

See Also

to_pedtools_locusAttributes

marker_attach

Examples

1
2
3
library(pedtools)
p <- nuclearPed(1)
p <- setMarkers(p, m = to_pedtools_markers(ft_nist_african_american, p))

knifecake/fafreqs documentation built on March 13, 2020, 11:53 p.m.