Re: [R] kinship package: drawing pedigree error

2008-02-08 Thread Neil Shephard
You can also draw pedigrees using the pedtodot() function from the gap package. It does however depend on graphviz (http://www.graphviz.org). An article on drawing pedigrees in R is available in Bioinformatics 22(8):1013-1014 (see http://forums.gentoo.org/viewtopic-t-641204) There _may_ also be

Re: [R] kinship package: drawing pedigree error

2008-02-07 Thread Iris Kolder
I tried replacing the missing parents with 0 but got the same error Error in if (min(pos2) < 0) { : missing value where TRUE/FALSE needed Any other thoughts? Iris Subject: Re: [R] kinship package: drawing pedigree error On Wed, 06-Feb-2008 at 04:49AM -0800, Iris Kolder wr

[R] kinship package: drawing pedigree error

2008-02-06 Thread Iris Kolder
Hi Im using the kinship package to draw a pedigree. On my data set this works fine but when i add indivudals to the pedigree i keep getting an error i hope someone can help me! This is the code im using: Data<-read.table("Tree.txt", header=T, sep=",") attach(Data) ped<-pedigree(id, dadid, momi