solarMultipoint(formula, data, dir, kinship, traits, covlist = "1", mibddir, chr, interval, multipoint.options = "", multipoint.settings = "", cores = getOption("cores"), ..., verbose = 0)
formula
or one that can be coerced to that class.
It is a symbolic description of fixed effects (covariates) to be fitted.as.data.frame
to a data frame
are not supported."1"
.ibd
command for more details
(http://solar.txbiomedgenetics.org/doc/91.appendix_1_text.html#ibd).chromosome
.
If it is missing, the default value is "all"
.
See SOLAR help for chromosome
command for more details
(http://solar.txbiomedgenetics.org/doc/91.appendix_1_text.html#chromosome).interval
.
If it is missing, the default value is 1
.
See SOLAR help for interval
command for more details.multipoint
SOLAR command.
For example, one or more LOD scores may be specified
to run multi-pass linkage analysis.
If the argument is "3"
, that means a two-pass linkage scan
with condition of the highest LOD of 3
to start the second pass.
See SOLAR help page for multipoint
command for more details
(http://solar.txbiomedgenetics.org/doc/91.appendix_1_text.html#multipoint).
The default value is ""
.multipoint
.
For example, the fine mapping for the linkage scan can be disabled
by setting the given argument to "finemap off"
.
The default value is ""
.getOption("cores")
.
If the default value is NULL
then the number of cores is 1
.solarPolygenic
function.
For example, one of such arguments may be polygenic.settings = "option EnableDiscrete 0"
.
Arguments of solarMultipoint
,
which are also passed to solarPolygenic
,
include formula
, data
, dir
,
kinship
, traits
and covlist
.0
.The linkage analysis is conducted in the following sequence:
parse input files of multipoint IBD matrices,
export data to a directory by df2solar
function,
run the polygenic analysis in a directory,
run the linkage analysis on the top of the polygenic analysis,
parse output files and
store results in an object of solarMultipoint
class (see solarMultipointClass
).
The user is responsible for computation of the MIBD matrices
required by solarMultipoint
function via mibddir
argument.
Estimation of the IBD matrices is out of the scope of solarius
package.
More information is available in http://solar.txbiomedgenetics.org/doc/05.chapter.html.
### load phenotype data data(dat30) ### load marker data mibddir <- system.file('extdata', 'solarOutput', 'solarMibdsCsv', package = 'solarius') list.files(mibddir)[1] "mibd.2.0.gz" "mibd.2.1.gz" "mibd.2.2.gz" "mibd.2.3.gz" "mibd.2.4.gz" [6] "mibd.2.5.gz" "mibd.5.0.gz" "mibd.5.1.gz" "mibd.5.2.gz" "mibd.5.3.gz" [11] "mibd.5.4.gz" "mibd.5.5.gz"## Not run: # ### basic (univariate) linkage model # mod <- solarMultipoint(trait1 ~ 1, dat30, # mibddir = mibddir, chr = 5) # mod$lodf # table of results (LOD scores) (the highest 3.56) # # ### basic (bivariate) linkage model # mod <- solarMultipoint(trait1 + trait2 ~ 1, dat30, # mibddir = mibddir, chr = 5) # mod$lodf # table of results (LOD scores) (the highest 2.74) # # ### two-pass linkage model # mod <- solarMultipoint(trait1 ~ 1, dat30, # mibddir = mibddir, chr = 5, # multipoint.options = "3") # mod$lodf # table of results (LOD scores, 1 pass) (the highest 2.74) # mod$lodf2 # table of results (LOD scores, 2 pass) (all nearly zero LOD scores) # # ## End(Not run)