Description Usage Arguments Value Note Author(s) See Also Examples
Print summary information about QTL contained in a peak
object.
1 | peaksummary(peak.array,cross,exc=data.frame(inf=0,sup=0,chr=NA),graph=FALSE,...)
|
peak.array |
An object of class |
cross |
An object of class |
exc |
A data frame with columns |
graph |
If TRUE, print summary graphs. |
... |
Ignored at this point. |
Returns a list containing a variety of summary information about QTL distribution according to the peak
feature.
No page settings have been specified in the peaksummary
function therefore if graph=TRUE
all graphs will appear one above the other within the same R graphical window. You should specified the use by the parameter mfrow
of the R function par()
to setup the graph page.
Hamid A. Khalili
define.peak
,read.cross
,peak.2.array
,Rsq.2.array
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | data(seed10);
out.em <- scanone( seed10, pheno.col=1:50, model='normal', method='hk');
out.peak <- define.peak(out.em,'all');
out.peak <- calc.adef(seed10,out.em,out.peak);
data(BSpgmap);
out.peak <- localize.qtl(seed10,out.peak,BSpgmap);
out.array <- peak.2.array(out.peak);
# Whole QTL summary woth graph
par(mfrow=c(2,4));
peaksummary( out.array, seed10, graph=TRUE);
par(mfrow=c(1,1));
# QTL summary with graphs excluding the QTLs localized
# on chromosome 3 between 5000 and 6000 bp.
par(mfrow=c(2,4));
peaksummary( out.array, seed10, exc=data.frame(inf=5000,sup=6000,chr=3), graph=TRUE);
par(mfrow=c(1,1));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.