to_pedtools_locusAttributes: Convert a 'freqt' object to the pedtools 'locusAttributes'...

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

This function is useful for loading the allele frequency databases found in this package into pedtools or other pedsuite packages which use the pedtools package such as forrel.

Usage

1

Arguments

x

a freqt object

scale

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

Value

a pedtools-compatible list of lists following the locusAttributes definition

See Also

to_pedtools_markers

marker_attach

Examples

1
2
3
library(pedtools)
p <- nuclearPed(1)
p <- setMarkers(p, locusAttributes = to_pedtools_locusAttributes(ft_nist_african_american))

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