EuracBiomedicalResearch / FamAgg

This is the development version of the FamAgg Bioconductor package.
https://EuracBiomedicalResearch.github.io/FamAgg
MIT License
0 stars 2 forks source link

plotPed with kinshipGroupTest results #2

Closed the-x-at closed 3 years ago

the-x-at commented 7 years ago

Supplying a numeric argument to the "id" parameter in plotPed with a result object of type "FAKinGroupResults" results in an undesired pedigree or in error message "Error in affGroup[[id]] : subscript out of bounds".

From the vignette:

plotPed(kinGroup, id=kinGroupRes[kinGroupRes$family == "432", "group_id"][1], prune=TRUE) % Works.

kinGroupRes[kinGroupRes$family == "432", "group_id"][1] % [1] "17609"

plotPed(kinGroup, id=17609, prune=TRUE) % Error in affGroup[[id]] : subscript out of bounds