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
Currently convert_gt, convert_ht, and convert_ds represent missing data as missing. This causes the output genotype matrix to be of type Array{Union{Missing, T}, 2}. If we use NaN to represent missing instead, the output matrix type will be Array{Float64,2}, so BLAS will work by default. Is there any opinion on this?
It comes down to the following:
NaN only works for floating-point numbers (i.e. no more integer matrices)
NaN can be confusing because it can mean invalid math operations (e.g. division by 0) or the absence of a value.
We lose functions like skipmissing
The text was updated successfully, but these errors were encountered:
Currently
convert_gt
,convert_ht
, andconvert_ds
represent missing data asmissing
. This causes the output genotype matrix to be of typeArray{Union{Missing, T}, 2}
. If we useNaN
to represent missing instead, the output matrix type will beArray{Float64,2}
, so BLAS will work by default. Is there any opinion on this?It comes down to the following:
NaN
only works for floating-point numbers (i.e. no more integer matrices)NaN
can be confusing because it can mean invalid math operations (e.g. division by 0) or the absence of a value.skipmissing
The text was updated successfully, but these errors were encountered: