An R/qtl cross object with class structure "bc",
"dh","riself","bcsft". (see ?mstmap.cross for more details.)
chr
Character vector of linkage group names used for subsetting the
linkage map.
bychr
Logical vector determining whether statistics should be plotted by
chromosome (see Details).
stat.type
Character string of any combination of "xo" or "dxo" or
"miss". "xo" calculates the number of crossovers,
"dxo" calculates the number of double crossover and "miss"
calculates the number of missing values.
id
Character string determining the column of cross$pheno that
contains the genotype names.
xo.lambda
A numerical value for the expected rate of recombination. (see Details).
...
Other arguments to be passed to the high level lattice plot.
Details
This function uses statGen to profile statistics for the
genotypes for the current order of the linkage map. Any combination of
"xo" or "dxo" or "miss" may be given to
simultaneous plot. If bychr = TRUE then the plots will be further partitioned by
linkage groups given by chr.
If a numerical value is given for xo.lambda then the
recombination count for each genotype is tested against the expected
recombination rate xo.lambda using a simple one-tailed test of a
Poisson mean. Any lines that have a p-value less than than a family wise
error rate based on bonferroni adjustment of the usual alpha level of 0.05 are
annotated on the profiles being plotted.
Value
A lattice panel plot with panels described by the stat.type given
in the call and genotype statistics are returned invisibly. If
xo.lambda is not NULL then these statistics also include a
logical vector named "xo.lambda" that is returned from testing
the individuals for inflated recombination rates (see Details).
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(ASMap)
Loading required package: qtl
Loading required package: gtools
Loading required package: fields
Loading required package: spam
Loading required package: grid
Spam version 1.3-0 (2015-10-24) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: 'spam'
The following objects are masked from 'package:base':
backsolve, forwardsolve
Loading required package: maps
# maps v3.1: updated 'world': all lakes moved to separate new #
# 'lakes' database. Type '?world' or 'news(package="maps")'. #
Loading required package: RColorBrewer
Loading required package: lattice
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/ASMap/profileGen.Rd_%03d_medium.png", width=480, height=480)
> ### Name: profileGen
> ### Title: Profile individual genotype statistics for an R/qtl cross object
> ### Aliases: profileGen
> ### Keywords: misc
>
> ### ** Examples
>
>
> data(mapDH, package = "ASMap")
>
> ## profile all genotype crossover and double crossover statistics
>
> profileGen(mapDH, bychr = FALSE, stat.type = c("xo","dxo"),
+ xo.lambda = 25, layout = c(1,3))
>
>
>
>
>
>
> dev.off()
null device
1
>