Git Product home page Git Product logo

Comments (37)

lgatto avatar lgatto commented on May 25, 2024 3

What about something like this - I have reduced peaks intensities and added a light transparency in the label and moved the peaks up a but. Haven't changed peaks colours yet.

msnbase

from biocstickers.

GuangchuangYu avatar GuangchuangYu commented on May 25, 2024 2

the ggtree sticker is reproducible in R.

I will make a pull request to add the source code.

from biocstickers.

GuangchuangYu avatar GuangchuangYu commented on May 25, 2024 2

@lgatto now ggtree and treeio stickers are purely produced in R.

GIMP is not needed.

The tricky thing to remove background is using +ggtree::theme_transparent() + ggsave(bg='transparent').

from biocstickers.

GuangchuangYu avatar GuangchuangYu commented on May 25, 2024 2

this plot itself is in hexagon shape 👏

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024 2

@jotsetung what about this?

msnbase

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024 1

If time allows, I will have a go.

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024 1

For MSnbase, I thought maybe something like

rplot001

(from ?MSmap)

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024 1

RFC - @jotsetung @sgibb @GuangchuangYu

msnbase

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024 1

Two more things @lgatto @GuangchuangYu : for printing, the height of the image should ideally be 5cm. I would suggest that you create the pngs also in this size so they don't have to be resized later.

@lgatto have you tried to use white for the box edges? That could also look cool (eventually a little transparency too). I am also a little concerned with the width of the box lines, they look very thin and might make problems at the printing.

from biocstickers.

sgibb avatar sgibb commented on May 25, 2024 1

sry, could have post it directly. The colour for the map: #96281b (and I used a slightly lighter background: #f9690e)

from biocstickers.

Kohze avatar Kohze commented on May 25, 2024 1

It actually needs a transformation, not a rotation, to make it look perspectivly fitting (as seen below, its already perfectly parallel on the left). Not sure if that is possible within R.

6615bcb6-04ab-11e7-93be-5e22f022bf77_f3

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

I think it looks great! (Except the font, I somehow don't fancy it.)
The plots for all the stickers are hand-drawn, as far as I can see. Is this meant to be the last version, or a draft?

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

Yes, the font... I tried different ones (inconsolata etc) but didn't really like them either. Feel free to play with it in Gimp and change the font.
Regarding the graphs in the stickers, yes, for xcms and ensembldb it's the final version - I like the low-fi drawings ;)
For MSnbase it's just a proposal - didn't really know what to use as a graphic.

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

I do like the low-fi drawings. But a reproducible figure produced in R, with the package would be cool too :-)

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

I agree - do you plan to create such a plot?

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

@jotsetung I have been thinking about the sticker and was wondering if the current MSnbase design wouldn't be a good fit for mzR, or do you have something else on stock?

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

Yes, makes sense; then I'll do an mzR sticker with that. Do you have any ideas for a MSnbase design? Pbase could have something like the mapping plot from peptide features to genome, but MSnbase is not that easy I find.

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

Awesome!

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

I should probably lower the text a bit.

from biocstickers.

GuangchuangYu avatar GuangchuangYu commented on May 25, 2024

I think you can rotate the figure a little bit.

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

Rotation doesn't disturb me - actually, I think it might be too symmetric if you rotate it to have a 45 degree.
Did you create this in R?

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

yes, eventually the text slightly lower - does it align with the others?

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

Did you create this in R?

See MSnbase_sticker.R

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

the text slightly lower

Done. @jotsetung - what about raising the text in xcms and mzR a bit?

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

actually, it's the fault of ensembldb, I can't raise the text more there because otherwise the text doesn't fit anymore. That was the reason for the lower text I have (also in the template), to accommodate also for longer package names.

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

May be we should check the average package name length and set the default based on that :-). My point is that ensembldb is an exception with the fancy leading e!.

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

I checked the text position for the official stickers: the bottom text alignment for most stickers is 18mm from top. I'll adjust the template and the manually crafted stickers accordingly.

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

Yes, I like that!

from biocstickers.

sgibb avatar sgibb commented on May 25, 2024

@lgatto I would remove the border of the coordinate system completely (and change the gray/blue color of the map), e.g.:

msnbase

Is it possibly to rotate the map a little bit? So that the m/z axis is parallel to the edge of the hex?

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

@sgibb - I like that colour. Could you give me the specs. I will try to rotate a bit more, and see how it looks like.

from biocstickers.

LiNk-NY avatar LiNk-NY commented on May 25, 2024

You could also leave the "box()" and align the plot to the sticker margins so that it takes over the entire area of the sticker.

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

I am not sure I will manage to get the x and y coordinates completely parallel to the sticker margins. I think this would require to tilt in the z dimension, which doesn't looks as good. In the meantime, here's another iteration. (Updated since first post)
msnbase

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

I like that one - eventually you could move the plot a little bit up so that there is a smaller gap between the text and the plot - there's however this nasty signal in the right corner ;)

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

The color you are using now is a little loud - could you eventually try to use #d35400?

from biocstickers.

lgatto avatar lgatto commented on May 25, 2024

I think #d35400 is too close to the background and might not be visible once printed. I'll try something between #d35400 and #96281b later.

msnbase

from biocstickers.

LiNk-NY avatar LiNk-NY commented on May 25, 2024

Could you rotate it counter-clockwise a few degrees?

from biocstickers.

jorainer avatar jorainer commented on May 25, 2024

The MSnbase sticker looks great. I'm closing the issue - @lgatto you can reopen if you're not yet done with the final design.

from biocstickers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.