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
This may be a minor issue, but in circumstances where there is a single gene associated with an annotation under the "annotation_features" key in annotatinos.json, the value associated with each key in the nested dictionary is a string, rather than a list of length 1 with a single string. All other instances are a list of strings. I'm not sure if this is necessary or an intentional design decision but it was giving me some problems when I was looking up associated genes in enrichment results. I think the only reason those annotations were enriched in the first place is because there were very few genes of interest from a very large set of genes.
The text was updated successfully, but these errors were encountered:
More than likely, this is due to using the default parameters of jsonlite::toJSON() on the annotation object, where b/c it is length one, it doesn't create a list. I'll have to look into it and see how to make sure we have consistent behavior regardless of the length.
This may be a minor issue, but in circumstances where there is a single gene associated with an annotation under the "annotation_features" key in annotatinos.json, the value associated with each key in the nested dictionary is a string, rather than a list of length 1 with a single string. All other instances are a list of strings. I'm not sure if this is necessary or an intentional design decision but it was giving me some problems when I was looking up associated genes in enrichment results. I think the only reason those annotations were enriched in the first place is because there were very few genes of interest from a very large set of genes.
The text was updated successfully, but these errors were encountered: