PlotFamilies: Plot the age distributions or insertion rates for multiple...

Description Usage Arguments Value Examples

Description

Plot the age distributions or insertion rates for multiple families.

Usage

1
PlotFamilies(resList, type = c("insRt", "ageDist"), ...)

Arguments

resList

A list of TEfit/TEfit2 objects, which can be mixed

type

Whether to plot the insertion rates ('insRt') or the age distributions ('ageDist').

...

Passed into plotting functions.

Value

A list of line data (plotDat) and peak locations (peakDat).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(AetLTR)
copia3 <- subset(AetLTR, GroupID == 3 & !is.na(Chr))
gypsy24 <- subset(AetLTR, GroupID == 24 & !is.na(Chr))
res3 <- EstDynamics(copia3$Mismatch, copia3$UngapedLen)
res24 <- EstDynamics2(gypsy24$Mismatch, gypsy24$UngapedLen)

# Plot insertion rates
PlotFamilies(list(`Copia 3`=res3, `Gypsy 24`=res24))

# Plot age distributions
PlotFamilies(list(`Copia 3`=res3, `Gypsy 24`=res24), type='ageDist')

TE documentation built on May 1, 2019, 10:13 p.m.

Related to PlotFamilies in TE...