Open carlocolantuoni opened 1 year ago
I would assume that the possibility of one gene belonging to multiple labels needs to exist in this. Maybe we could call this a "labeled" or "categorical" gene cart that would be stored as a new database table (most likely) and then converted to intermediate JSON structure ({label:[gene1, gene2]}
) in code
Thoughts I have with respect to this
1 - yes, for projection and multigene views 2 - yes - i think it should work as unweighted gene carts currently work, with the exception that this would be several linked unweighted gene carts (1 in each column) 3 - might have to discuss this one - i dont get all the details here (likely because i dont kno the details of how gene carts are stored etc). but i do agree i dont think we want them all individually indexed - the lists of carts will grow too big. does this neccessiate a new "class" of cart for these grouped/labeld unweighted carts? 4 - makes sense to me, dont think we need this for weighted carts 5 - dont get this either - lets discuss
It just occurred to me that this could be accomplished by taking the entire union of all genes, and create a weighted gene cart where the loadings are the labels and the values are a binary 1 (is in label set) or 0.
So maybe what we can do is to add a new uploader function in the gene cart manager that would take the format in the opening photo and convert it to a binary weighted gene cart.
create gene a cart format that can include many named unweighted gene carts, i.e. simple unweighted gene lists, such as a set or marker genes for 5 different cell types.
this could simply look like this: