Description Usage Arguments Author(s) Examples
Parallel for pairwise statistics derived from analyses between each individual, for example genome-wide identity-by-state or genomic kinship analyses
1 |
npro |
number of processors on the compute-nodes |
fun |
function name will be processed such as ibs |
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 |
Unitsa Sangket, Yurii S. Aulchenko and Surakameth Mahasirimongkol
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Example 1 (summit job on R)
################################################
#clear working space
rm(list = ls())
library(GenABEL)
library(ParallABEL)
data(srdta)
data <- srdta[,]
npro=2 # npro = number of processors on the compute-nodes
fun=ibs
output.p = type3.p(npro,fun,data)
output.p[1:5,1:5]
mpi.quit(save="no")
#################################################
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.