How to add data in the about track of @jbrowse/react-linear-genome-view #4744
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
you can add it in a "metadata" object on the track e.g.
The "config" is (perhaps unfortunately) a bit strict about what they allow so it discards any fields that are not predefined in our "config schema" (can elaborate if interested but hopefully that helps) also, as you can see, the file "header" is shown in the "About track" dialog, so metadata about the file can also be put in there (for GFF3 that includes lines starting with "#") just to mention other options for completeness sake, there are some additional options like using the "formatAbout" to programmatically add, change, or remove fields from the "About track" dialog (https://jbrowse.org/jb2/docs/config/basetrack/#slot-formataboutconfig) which is analogous to "formatDetails" for the feature details. |
Beta Was this translation helpful? Give feedback.
-
It works perfectly! |
Beta Was this translation helpful? Give feedback.
you can add it in a "metadata" object on the track e.g.