powered by
second column of pairs are the probands and the first column the related subjects
familyclusterWithProbands.index( clusters, probands, index.type = FALSE, num = NULL, Rindex = 1 )
list of indeces giving the clusters (families)
list of 0,1 where 1 specifices which of the subjects that are probands
argument passed to other functions
index starts with 1, in C is it is 0
Klaus Holst, Thomas Scheike
Cluster indeces
familycluster.index cluster.index
i<-c(1,1,2,2,1,3) p<-c(1,0,0,1,0,1) d<- familyclusterWithProbands.index(i,p) print(d)
Run the code above in your browser using DataLab