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
The argument tol can be used to help with this. Increasing from the default 1e-12 to say 1e-4, many or most of the out-of-control estimates will become NA.
kbroman
added a commit
to kbroman/qtl2
that referenced
this issue
Feb 23, 2018
- "clean" seems potentially more informative than "threshold"
- In addition to setting small values to 0, we also look at the
maximum probability in a genotype column; if that's not large we set
all values in that column to 0.
- Related to Issue rqtl#34.
scan1coef()does give NA when a coefficient can't be estimated, or at least it tries to. But it can be hard when a column of genotype probabilities has values that are close to but not exactly 0. So I added clean_genoprob() which sets values below value_threshold to 0 and also looks at the maximum probability in a genotype column and if that's below column_threshold, we set all values in that column to 0.
If an allele or genotype is missing, its effect can't be estimated. But
scan1coef()
currently seems to just return crazy values rather thanNA
s.The text was updated successfully, but these errors were encountered: