-
Notifications
You must be signed in to change notification settings - Fork 2
issue solarPolygenic R version 4.0 #4
Copy link
Copy link
Open
Description
Hi,
With R version 4.0 matrix objects now also inherit from class "array", so e.g., class(matrix(1:9)) is c("matrix", "array"). This is problematic if you want to use de function solarPolygenic with the parameter "kinship" because the function checks if this input is a matrix... but it's not only a matrix anymore. So, you cannot use this function with a predefined kinship matrix.
It returns this error: <Error in kmat2kf(kmat) : class(kmat) == "matrix" are not all TRUE>.
Could you fix this bug, please?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels