Comments (16)
@LiNk-NY @mtmorgan - the make_sticker
function seems to be quite useful (to me, at least). I would rather move it to a package for convenience. Would you consider it fit for BiocStyle
, for example, or should it get its own package?
from biocstickers.
p <- ggplot(aes(x = mpg, y = wt), data = mtcars) + geom_point()
p = p + theme_void() + theme_transparent()
make_sticker(p, "Bioconductor")
142d1f5 change the dimension according to https://twitter.com/robbie_bonelli/status/795211775679418372.
from biocstickers.
I would only make a package of the functionality to create the stickers and would not include the actual stickers or sticker functions into that package. 1) some stickers (mine ;) ) were made manually and 2) I would simply keep functionality (the function) and results (the stickers) separate.
from biocstickers.
I have created a sticker
package with the make_sticker
function.
from biocstickers.
I have some ideas to improve it and create a package separately for not breaking your existing codes.
see https://github.com/GuangchuangYu/hexSticker.
from biocstickers.
that's awesome. Thanks @lgatto
from biocstickers.
Very nice 👍 🥇
from biocstickers.
TODO
- [ ] Adjust dimensions to get an image of height 5cm, ready for printing.
- [ ] Fix hexagon not filling the full square; on the left side there is a small gap.
TODO list has been moved to sticker
issue 1.
from biocstickers.
from biocstickers.
I vote for new package, maybe BiocSticker
. Developers can PR for their sticker_pkgname
function and then we can have a package of reproducible sticker collections.
from biocstickers.
I vote for new package, maybe BiocSticker. Developers can PR for their
sticker_pkgname
function and then we can have a package of reproducible sticker collections.
Ok for a package; I would rather name it stickeR
or sticker
to make it more general.
If we push actual sticker creation functions in there, then this repo becomes obsolete. The advantage of an external package is that it easier for me to control what version I use for my sticker; otherwise, every change in the function (like 142d1f5, for example), possibly breaks stickers.
With respect to the package, having it on github
allows to install versions based on SHA commit hashes; this enables me to keep using one consistently for different stickers, as long as I record which SHA I was using upon creation.
from biocstickers.
I realized that the hexagon is not filling the full square. On the left side there is a small gap. Could this be fixed?
from biocstickers.
@lgatto Is the function in the package different from the one we had here? I'm asking because the same code that generated this sticker https://github.com/jotsetung/BioC-stickers/blob/master/mzR/mzR.png now creates:
from biocstickers.
There have been a couple of PRs recently, but I think that the text size is also influenced by other parameters (at least that's what I observed yesterday, when preparing the pRoloc
stickers). That why we need a package and the flexibility to install a use a specific SHA has to preserve old stickers, at least until we have a stable make_sticker
.
from biocstickers.
This is because the units are in two different spaces (data and pixel).
from biocstickers.
Yup, I just reduced the size of the text - works now.
from biocstickers.
Related Issues (20)
- CSAMA 2020 sticker HOT 8
- Sticker for EuroBioc 2020 HOT 10
- Sticker/logo for the Bioconductor Technical Advisory Board (TAB) HOT 9
- Sticker/logo for the Community Advisory Board (CAB) HOT 17
- BioC2021 hex logo/sticker HOT 29
- Bioconductor teaching sticker HOT 17
- Logo/banner for the F1000 Bioc Gateway HOT 16
- BioC Asia 2021 hex sticker HOT 21
- EuroBioC 2022 Sticker HOT 10
- BiocAsia2020 sticker missing HOT 2
- Diversity affirming stickers
- BioC2022 sticker HOT 10
- Package reviewer sticker HOT 1
- BioC2023 sticker HOT 15
- EuroBioC2023 sticker HOT 17
- inkscape_template.svg unreadable with current inkscape HOT 1
- CSAMA 2019 HOT 1
- Idea: a BiocHexwall HOT 5
- EuroBioc2019 sticker HOT 15
- BioC2020 logo/sticker HOT 73
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biocstickers.