pedtools 2.4.0
New features
-
The
plot()
method now handles general (unnested) lists ofped
objects. This means that, for instance, withx = list(nuclearPed(1), cousinPed(1), singleton(1))
, the commandplot(x)
simply works. Previously all ped lists had to be handled byplotPedList()
. (This is still needed for finer control of each component, and with nested lists.) -
nMarkers()
andhasMarkers()
have a new argumentcompwise
for more detailed output for ped lists. -
linearPed(0)
now produces a singleton (instead of an error). -
setAfreq()
now automatically updates the mutation model of the affected marker, if present. -
readFreqDatabase()
now accepts frequency files using the long format of MERLIN. -
readFreqDatabase()
gains a logical argumentscale1
, which, if TRUE, scales all vectors to sum 1.