type2.p: Parallel for the analyses of statistics of each individual

Description Usage Arguments Author(s) Examples

Description

Parallel for the analyses of statistics of each individual, for example, summary statistics of genotype quality for each sample

Usage

1
type2.p(npro,fun,data,data_f,...)

Arguments

npro

number of processors on compute nodes

fun

function name will be processed such as hom

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# Example 1 (summit job on R)
################################################
#clear working space
#clear working space
rm(list = ls())
library(GenABEL)
library(ParallABEL)
data(ge03d2.clean)
data <- ge03d2.clean[,]

npro=2 # npro = number of processors
fun=hom

output.p = type2.p(npro,fun,data)

output.p[1:5,]

mpi.quit(save="no")


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

ParallABEL documentation built on May 2, 2019, 4:43 p.m.