plotTreesAtSites
¶
call plotTreeFromBed at the sites in a site file; color individual nodes by allele
Description¶
call plotTreeFromBed at the sites in a site file; color individual nodes by allele
Usage¶
plotTreesAtSites(bedFile, sites, pos = NULL, start = NULL,
end = NULL, doSingletons = FALSE, colors = list(A = "red", C =
"green", G = "turquoise", T = "purple", N = "gray"), ...)
Arguments¶
Argument |
Description |
---|---|
|
bed.gz file from smc2bed with trees |
|
Sites object, as returned by readSites(). Will plot one tree for each site. |
|
If not NULL, a vector of integers giving which sites to plot. If NULL, plot all sites |
|
start position |
|
end position |
|
whether to plot singletons |
|
Color to use for each allele in leaf of tree |
|
Additional arguments passed to plotTreesFromBed |