(1/n) I'm sure that there are tons of #DataViz & #rmarkdown tips & tricks out there. So in this thread, I would just like to share a bit of my coding adventures. 🤓💻
(2/n) Before discovering the wonderfulness of ggplot2, my figures were confined to the "limits" of MS Excel. While it is definitely possible to create coherent plots in Excel, it does get kinda clunky when you have more complex data. And what about overlaying my plots?? 🤨
(3/n) Cue ggplot2! Its super intuitive, customizable & compatible with tons of extensions that "enhances" one's plotting capabilities.
@CedScherer (4/n) I definitely didn't get the hang of coding instantaneously and I really vibe with @science_irl's experience. For sure it's daunting at the start but trust in the process and you'll get there!
@CedScherer@science_irl (5/n) So I've been using #rmarkdown for about 2 years and counting. As a student, I find it really useful in demonstrating data analyses to my supervisors and collaborators thanks to its consistent and standardised reporting styles.
(1/n) Why do we do literature reviews? Apart from it forming a PhD chapter (as most of us would kinda have to do), literature reviews give us an overview of our research topic(s). Talking about the INs and OUTs of Topic XYZ~ 📚📖📑
@twisteddoodles (2/n) Well, instead of manually downloading and trawling through every single paper (really??), did you know that you can use R for literature reviews?
(1/n) It's time for some dung beetle "juicy-ness" again~
My first attempt at using R for spatial data is to map the occurrences of dung beetles in Sabah, Malaysia and Singapore!
(2/n) If you would like some background as to what motivated this, check out our cool GBIF-funded project here! 😎gbif.org/project/BIFA6_…
(3/n) My ambitious goal was to make the occurrence maps interactive! With some googling, I found many resources using Leaflet, an open-source JavaScript library for interactive mapping. Best of all, the leaflet R package is super versatile and allows for easy map customizability.
(1/n) Today's topic is working with spatial data in R! TBH I'm pretty new to this and my spatial data experience has mostly been with using GIS software like ArcGIS, QGIS.
It was only this year where I really started dabbling in using R for spatial data mapping. 🗺️📌
What really caught my attention is the history of spatial analysis in R and that R's capabilities in handling spatial data is increasingly improving! 🤩
(3/n) What I really like about using R for spatial data is that its a single environment for data processing, analysing and mapping
I can also use other packages for data manipulation etc before translating them into spatial objects with more specific spatial packages. 🤓
(1/n) Now, let's chat about ecological networks! These networks show the interactions (edges) between species (nodes) in a given ecosystem or community. Common examples include food webs, plant-pollinator networks and host-parasite networks.
(2/n) So, I'm studying the interaction networks between dung beetles and mammals whose dung they feed on. Why you may ask?
With a variety of feeding and nesting habits, dung beetles provide tons of ecosystem benefits such as nutrient recycling and secondary seed dispersal.
(3/n) Constructing these networks in tropical forests allows us to see the impacts of deforestation, hunting etc. through loss of interactions and simplified networks.
E.g. we expect to see simpler networks in disturbed sites with lesser mammals and thus lesser dung beetles.
(1/n) Today, we are delving into network analyses and visualizations! These are super useful tools that enable us to understand the relationships (edges) between objects (nodes) that we specify.
(2/n) Take social media data for example, we can use network analyses to see how connected we are to one another. Each node would represent a user and edges represent the relationships (e.g. follow status) between users.
(3/n) In #rstats, there are lots of resources for such analyses and visualising networks!
Below, I've listed a couple of tutorials and packages that I've used - mainly for ecological networks.
What resources have you been using for network analyses? Do add on!