As we discussed it's currently possible to figure out which genes in the genes detected table map to which traits by effectively doing a tree traversal starting from the rule for each trait and passing through traits and other rules until all leaves (genes / hmms) are reached (I think...). However, this requires quite a bit of code and is fragile to changes in the output RDS file formats from extract.traits.
It'd be very helpful if instead, microtrait supported one of the following:
trait -> gene mapping in the RDS files
A function in the microtrait library that takes a RDS file and produces the mapping
If the mappings aren't input dependent, a function in the microtrait library that produces the mappings without a RDS file
Maybe something like this already exists...? I got the impression that's not the case, though.
Hi @ukaraoz ,
As we discussed it's currently possible to figure out which genes in the genes detected table map to which traits by effectively doing a tree traversal starting from the rule for each trait and passing through traits and other rules until all leaves (genes / hmms) are reached (I think...). However, this requires quite a bit of code and is fragile to changes in the output RDS file formats from
extract.traits
.It'd be very helpful if instead, microtrait supported one of the following:
Maybe something like this already exists...? I got the impression that's not the case, though.
Thanks very much for your consideration