Open leehart opened 6 years ago
Yep, SAM has few enough samples that ratios of them don't count to more than 50 different ones. Fixable buy isCategorical : false
I gather testing with fewer variants locally explains the difference with staging.
(I suspect that might also invalidate this issue... but I suppose adding isCategorical: false
to the settings would prevent this from cropping up again...)
Closing because isCategorical: false
has been set for af_SAM
for pf_variants
, and this was only an issue for incomplete data in testing scenarios.
It might be worth noting that data are being categorized by default (effectively isCategorical: true
), which is a "hidden feature", which might be potentially unexpected or unwanted.
Documentation currently states:
IsCategorical
Boolean. Instructs Panoptes to treat the property as a categorical variable. For example, a combo box with the possible states is automatically shown in queries for this property. Categorical properties are automatically indexed.
(I couldn't see any mention of the default behaviour.)
Reopening because the underlying issue might fester if left swept under the carpet.
[Maybe transfer this issue to Panoptes core? Perhaps the solution there is to either document the default behaviour, or to only categorize data when isCategorical
is explicitly set true
.]
Home > View genome > Add channel
dataType
I suspect/guess this might be caused by an internal algorithm for determining categorical-ness for number-type columns, maybe, with "South America" meeting the criteria but the data for other regions do not, maybe.
This issue is not present on the staging instance, so maybe my local version is out-of-date.