R: Parallel for the analyses of statistics of each SNP

type1.p {ParallABEL}R Documentation

Parallel for the analyses of statistics of each SNP

Description

Parallel for the analyses of statistics of each SNP, such as SNP characterization statistics or association test statistics

Usage

type1.p(npro,fun,data,data_f,...)

Arguments

npro number of processors on compute nodes
fun function name will be process such as mlreg.p
data object of snp.data-class
data_f file name that was saved the input object of snp.data-class, the object must be named "data"
... further arguments passed to function of fun argument

Author(s)

Unitsa Sangket, Yurii S. Aulchenko and Surakameth Mahasirimongkol

Examples

#Example 1 (summit job on R)
################################################
#clear working space
rm(list = ls())
library(GenABEL)
library(ParallABEL)
formula=dm2~sex+age
data(ge03d2.clean)
data <- ge03d2.clean[,]
npro=2 # npro = number of processors on the compute-nodes
fun=mlreg.p

output.p = type1.p(npro,fun,data,formula=formula)

output.p[1:5,]

mpi.quit(save="no")

#################################################


[Package ParallABEL version 0.1-0 Index]