You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: