-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Dear @bunop
When I run the tableRuns() command in detectRUNS, I get the following error. Can you help me solve this error?
topRuns <- tableRuns(runs = slidingRuns, genotypeFile = "ESMEclean.no-tabs.ped", mapFile = "False_clean.map", threshold = 0.5)
Threshold used: 50
I found only Runs data frame. GOOD!
Calculation % SNP in ROH
Chromosome founds: 26
|===============================================================================| 100%
Calculation % SNP in ROH finish
checking: ESME
Error in .rowNamesDF<-(x, value = value) : invalid 'row.names' length
The detectRUNs software sample .ped file is given as follows.
Jacobs H70 0 0 1 -9 T T A A
Jacobs H71 0 0 1 -9 C T G A
But my .ped file is as shown below. Instead of breed there is an individual rank number. Individual rank numbers were defined in the DetectRUNs software as if there were multiple groups. So I replaced the individual rank numbers with the breed name using R. Do you think this could be the cause of the error? I had no errors in the phases prior to this problem and everything seemed correct.
1 R01C01 0 0 0 -9 G G G C
2 R01C02 0 0 0 -9 G G G C