Closed jblamyatifremer closed 7 years ago
Hello,
There are no stupid questions! (only not-sufficiently-clear help files...)
compareOUT$Counts is what R calls an 'array', and you get the dam part as dam <- compareOUT$Counts[, , "dam"] # or dam <- compareOUT$Counts[, , 1]
Glad you find the package useful! Out of personal curiosity - what species are you working on?
cheers, Jisca
On 17/07/2017 17:49, jblamyatifremer wrote:
Hi Jisca,
I am sure that you a R trick to access to dam object stored in compareOUT$Counts...
get assignation statistic for dam
compareOUT <- PedCompare(Ped1=ped1,Ped2=SeqOUT$Pedigree) dam <- compareOUT$Counts[1] ## NOT WORKING dam <- unlist(compareOUT$Counts)[1] ## NOT WORKING
best regards,
JB
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JiscaH/sequoia/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AQwkHd3iML2g9lTLgsSL0EKvHcas7RX8ks5sO4-KgaJpZM4OaO4-.
Perfect !
I am working on oysters (successive hermaphrodite) populations or bi-parental cross. Most of the time, we do have an observed pedigree, and we are now accumulating HTS data. I am measuring the amount of putative errors in the observed pedigree.
I am also planning to use your package to design lower snp panel density for assignations, imputations from public array.
I close this thread.
Thanks you again for your time.
Hi Jisca,
I am sure that you have a R trick to access to dam object stored in compareOUT$Counts...
get assignation statistic for dam
compareOUT <- PedCompare(Ped1=ped1,Ped2=SeqOUT$Pedigree) dam <- compareOUT$Counts[1] ## NOT WORKING dam <- unlist(compareOUT$Counts)[1] ## NOT WORKING
best regards,
JB