med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

345
active users

#ggplot

0 posts0 participants0 posts today
Data Science<p>Beautiful palettes based on art for R and python: <a href="https://github.com/BlakeRMills/MetBrewer" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/BlakeRMills/MetBrew</span><span class="invisible">er</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a></p>
Data Science<p>Examples of creative data visualizations, mostly ggplot: <a href="https://github.com/tashapiro/tanya-data-viz" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/tashapiro/tanya-dat</span><span class="invisible">a-viz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Data Science<p>If you set limits for a scale (e.g. x-axis) in ggplot, how would you like data outside of that range be handled? There is the oob parameter for that and a set of functions to use with it: <a href="https://scales.r-lib.org/reference/oob.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">scales.r-lib.org/reference/oob</span><span class="invisible">.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a></p>
Data Science<p>Add some swag to your ggplots, with fontawesome symbols and colors: <a href="https://nrennie.rbind.io/blog/adding-social-media-icons-ggplot2/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nrennie.rbind.io/blog/adding-s</span><span class="invisible">ocial-media-icons-ggplot2/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/fontawesome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fontawesome</span></a> <a href="https://genomic.social/tags/ggtext" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggtext</span></a></p>
Data Science<p>You dont like the default color palett of <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a>? You can change it: <a href="https://stackoverflow.com/questions/10504724/change-the-default-colour-palette-in-ggplot" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/10</span><span class="invisible">504724/change-the-default-colour-palette-in-ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a></p>
Data Science<p>{ggchicklet}: library for rounded Segmented Column Charts: <a href="https://github.com/hrbrmstr/ggchicklet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/hrbrmstr/ggchicklet</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> @hrbrmstr</p>
Data Science<p>r-graph-gallery.com provides example code for a variety of chart types, both in base R and ggplot: <a href="https://r-graph-gallery.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">r-graph-gallery.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/design" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>design</span></a></p>
Data Science<p>Add richer tooltips to ggiraph with kableExtra and friends: <a href="https://uncharteddata.netlify.app/posts/2022-09-30-interactive-tooltip-tables/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">uncharteddata.netlify.app/post</span><span class="invisible">s/2022-09-30-interactive-tooltip-tables/</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/ggiraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggiraph</span></a> <a href="https://genomic.social/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a></p>
Data Science<p>Make interactive ggplots with {ggiraph}: <a href="https://davidgohel.github.io/ggiraph/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">davidgohel.github.io/ggiraph/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a> <a href="https://genomic.social/tags/UX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UX</span></a></p>
Data Science<p>Enrich your ggplots with extra panels along the x and y axis: <a href="https://github.com/jtlandis/ggside" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/jtlandis/ggside</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Data Science<p>Using fonts in R graphics can be tricky at times. {showtext} aims to make it easier: <a href="https://cran.rstudio.com/web/packages/showtext/vignettes/introduction.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cran.rstudio.com/web/packages/</span><span class="invisible">showtext/vignettes/introduction.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a></p>
Data Science<p>Find the best contrast between one color and a list of options, e.g. for labels in geom_tile: {prismatic::best_contrast()} <a href="https://emilhvitfeldt.github.io/prismatic/reference/best_contrast.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">emilhvitfeldt.github.io/prisma</span><span class="invisible">tic/reference/best_contrast.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/colors" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>colors</span></a></p>
Data Science<p>I did not know about ggplot_build() before. It can come in handy in situations where you want to access computed metrics of a <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a>. <a href="https://ggplot2.tidyverse.org/reference/ggplot_build.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ggplot2.tidyverse.org/referenc</span><span class="invisible">e/ggplot_build.html</span></a>. Thanks @thedatainklab for sharing. <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ci" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ci</span></a></p>
Martine Jansen<p><a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23rstats" target="_blank">#rstats</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23ggplot" target="_blank">#ggplot</a> Revelation of the day: `geom_*()` and `stat_*()` are wrappers for `layer() ` with respectively a fixed geom or stat argument. Now `stat_*()` suddenly feels less complex. Thank you <a class="mention" href="https://bsky.app/profile/cedricscherer.com" rel="nofollow noopener" target="_blank">@cedricscherer.com</a> and <a class="mention" href="https://bsky.brid.gy/ap/did:plc:hf6mfj2j6gjdmdrw564ikqhp" rel="nofollow noopener" target="_blank">@yan-holtz.bsky.social</a> for making <a href="https://www.ggplot2-uncharted.com" rel="nofollow noopener" target="_blank">www.ggplot2-uncharted.com</a><br><br><a href="https://www.ggplot2-uncharted.com/module1/stats" rel="nofollow noopener" target="_blank">Statistical Transformations | ...</a></p>
Data Science<p>r-charts.com provides example code for a variety of chart types, both in base R and ggplot: <a href="https://r-charts.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">r-charts.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/design" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>design</span></a></p>
Mark LaVenia<p><span class="h-card" translate="no"><a href="https://fediscience.org/@ElenLeFoll" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ElenLeFoll</span></a></span> <span class="h-card" translate="no"><a href="https://fedihum.org/@felwert" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>felwert</span></a></span> <span class="h-card" translate="no"><a href="https://wisskomm.social/@dfg_public" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dfg_public</span></a></span> <span class="h-card" translate="no"><a href="https://social.bund.de/@bmftr_bund" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>bmftr_bund</span></a></span> <br>Here’s one I recently Frankensteined in <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://fosstodon.org/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a>: <a href="https://github.com/MarkLaVenia/gantt_chart" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/MarkLaVenia/gantt_c</span><span class="invisible">hart</span></a></p><p>Would definitely be interested in learning more efficient and flexible approaches.</p>
coolbutuseless<p><a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> Hivemind: What's a good package to plot "flamegraph" style information</p><p>{zap} outputs nested "depth" and "duration". <br>My dodgy <a href="https://fosstodon.org/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> (with manual annotation) is not ideal.</p><p>Suggestions welcomed!</p>
Data Science<p>{ggdist}: Visualizations of distributions and uncertainty <a href="https://mjskay.github.io/ggdist/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">mjskay.github.io/ggdist/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a></p>
Data Science<p>{ggblanket}, a wrapper around <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> for quick, explorative plots with sensible defaults and less code. <a href="https://davidhodge931.github.io/ggblanket/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">davidhodge931.github.io/ggblan</span><span class="invisible">ket/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Data Science<p>{ggbump} creates elegant bump charts in ggplot. <a href="https://github.com/davidsjoberg/ggbump" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/davidsjoberg/ggbump</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>