Skip to content

How to add motif logo in annotation file? #15

Discussion options

You must be logged in to vote

Hi @ljljolinq1010

Sorry for the late reply.

As long as the motif-to-TF annotation file follows the convention of the motif-to-TF annotation files we host for human, mouse and fly (see: https://resources.aertslab.org/cistarget/motif2tf/). And as long as you don't have any motifs which are not present in our collection, the logo's will be automatically pulled from our server. For an example on how this is done, see:

motif_enrichment_w_annot['Logo']=['<img src="' +'https://motifcollections.aertslab.org/' + self.annotation_version + '/logos/'+ motif_enrichment_w_annot.index.tolist()[i] + '.png' + '" width="2…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ljljolinq1010
Comment options

Answer selected by SeppeDeWinter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants