| read.relation.mat | R Documentation |
Row/column intersections give the degree of relationship for the two individuals. 0 = self, -1 = unrelated.
read.relation.mat(fname)
fname |
The file with the relationship matrix information. |
A matrix with the relationships and individual ids as rownames and colnames.
mat.name1 <-system.file('extdata/1234_ex2.mat', package = 'KinformR')
mat1 <- read.relation.mat(mat.name1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.