Zombie Forests: Mapping Tree Migration with R Shiny

By:
Micah Muir
April 14, 2023

Our trees are dying. These days, the soft south-wind wafts only the sad notes of a forever-changed landscape. Our beloved forests are changing. And the faint murmurs from the <a href="https://appsilon.com/climate-change-and-pine-forests/" target="_blank" rel="noopener">pine tops that graced Aldrich’s ear, are vanishing</a>; they are being replaced with the creaking groans of rising zombie forests. But there is hope. The burden of taking large-scale action rests on the shoulders of decision-makers, including those in positions of power and influence such as policy-makers and foresters. The responsibility of ensuring that decisions are data-driven.. well that rests on us. <ul><li><a href="#definition">What Are Zombie Forests?</a></li><li><a href="#risks">What Are the Risks of Zombie Forests?</a></li><li><a href="#datascience">Using Data Science to Stop the Spread</a></li><li><a href="#shiny">How We Use Shiny to Prevent the Rise of Zombie Forests</a></li></ul> <hr /> <h2>Zombie Forests: Dawn of the Deadwood</h2> Zombie forests - a creative, evocative term sprouting from one of many significant changes brought about by our changing climate. These forests are characterized by large numbers of dead or dying trees that remain standing outside of their rapidly shifting climate zones. <img class="wp-image-18829 size-full" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01b66e481bab046488dfd_Niklas-Hamann-dead-trees-zombie-trees.webp" alt="Zombie Trees pine deadwood in forest" width="472" height="568" /> Photo by Niklas Hamann on Unsplash <h3>Setting the Stage for Destruction</h3> Extreme weather conditions and temperature shift, resulting in warmer conditions, have left many of our forests off-balance. Unable to keep pace with the moving front, some tree spcies are struggling to surive in the new climate. Hot and dry summers, warm winters with less snow, mismatched blooming and insect emergence, and frequent extreme weather events. These are just a few factors impacting the functioning of many tree species, limiting their ability to grow and reproduce. <h3>Future Forests - a Shiny Zombie Tree Survival Guide</h3> For my fellow hikers, set foot out on the Continental Divide and you’ll come across these wide, desolate zombie forests comprised of pines.  <blockquote>Need help with your conservation project? <a href="https://data4good.appsilon.com/#ourwork" target="_blank" rel="noopener">Explore our Data4Good projects</a>.</blockquote> These trees will remain standing, often for years or decades, and do pose a significant risk to both human safety and the environment. However, there is research showing hope for some tree species and a web application that makes it easy to explore and plan ahead. The app’s official title is Future Forests, but for our purposes today - it’s a Zombie Tree Survival Guide. <h2 id="definition">What Are Zombie Forests?</h2> Zombie forests are forested areas that are in a state of decay or decline. They are the result of a combination of factors - mostly human-induced - such as rising global temperatures, changes in precipitation, and the spreading of invasive pests and diseases.  <img class="wp-image-18827" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01b67e196d46b4e1b890d_meritt-thomas-YjRmPekRehk-unsplash-1-zombie-trees-standing-deadwood-scaled.webp" alt="Zombie Forests in USA dead pine trees" width="500" height="497" /> Photo by Meritt Thomas on Unsplash These factors, either individually or combined, weaken trees and make them vulnerable to additional stressors. Ultimately, this leads to large-scale die-offs. And as we’ve seen in the <a href="https://avephill.shinyapps.io/Sierra-Nevada-VCM/" target="_blank" rel="noopener">Sierra Nevada</a>, changing climate thresholds for some species are hitting hard. <h2 id="risks">What Are the Risks of Zombie Forests?</h2> Instead of falling to the ground, many of these trees remain standing. This standing deadwood is both positive and negative. Small amounts of standing deadwood creates habitat and resources for a variety of animals, plants, and fungi. But at a large scale it creates a dangerous, unmanageable, and unstable environment.  Beyond the growing risk of intense wildfires, zombie forests impact biodiversity, create excessive runoff - damaging soils and surface water quality, and reduce carbon sequestration. <h2 id="datascience">Using Data Science and R Shiny to Stop the Spread</h2> To help address the challenges posed by our changing climate, a group of researchers at <a href="https://www.idpan.poznan.pl/?utm_medium=referral&amp;utm_source=appsilon&amp;utm_campaign=futureforests-blog">IDPAN</a> teamed up with data scientists and R Shiny developers at Appsilon to develop the <a href="https://connect.appsilon.com/future-forests/">Future Forests app</a>. <img class="aligncenter size-full wp-image-17376" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01b69a597077171bb81be_future-forests-iteration-4.webp" alt="Future Forests UI redesign final iteration" width="1600" height="751" /> <h3>Predicting the Future of Forests</h3> To better understand the impact of climate change on forest biodiversity, scientists typically use species distribution models. By implementing climate change scenarios based on projections of future greenhouse gas emissions, these models can predict where species will be able to thrive and where they will struggle to survive. <h3>Consumable Science</h3> While these models are important, the results are often difficult to present in a way that is accessible to the general public or even expert audiences. A solution to this problem is the use of interactive data visualizations, tools that present the insights locked within the data in a clear and accessible way. Shiny dashboards allow you to create interactive yet engaging visual tools that help translate complex scientific analysis into easy-to-understand conclusions. <h4>About the Future Forests App</h4> Appsilon built Future Forests using R Shiny, a web application framework for R and Python. It includes a suite of climate scenario models for 2070, with predicted habitat zones for 12 tree species in Europe.  <blockquote>You can explore the live app and see what <a href="https://futureforests.appsilon.com/">tree species to plant for your future climate</a>.</blockquote> These modeled scenarios and the research performed by IDPAN are one of many solutions. The Shiny app is the delivery system, taking complex problems and making them available to the public.  <h2 id="shiny">How We Use Shiny to Prevent the Rise of Zombie Forests</h2> While the concept of zombie forests may sound like something out of a horror movie, the reality is that it's a serious problem that requires urgent attention. Fortunately, technology can play a crucial role in helping us address this issue. In our case, that technology is Shiny.  One of the key advantages of Future Forests is its accessibility. While traditional modeling techniques may require specialized expertise and technical knowledge, Future Forests presents the information in a user-friendly way that any user can click and explore. This makes it an invaluable tool for engaging a wide range of stakeholders in the fight against zombie forests. The information available allows users to predict where a species may lose its optimal habitat and plan in advance, actions to reduce the loss of economic opportunity and future growth. <h3>Who Is the Future Forests App For?</h3> It's up to policy-makers, foresters, farmers, or any natural resource manager to plan crop species compositions, and shape future forests. Knowledge of the uncertain duration of particular species can guide decisions for alternative forest type proposals in a given habitat, and for refining silvicultural principles. <h4>Don't Fight the Zombie Tree Horde, Prevent It!</h4> But in making science accessible, and casting the seed of knowledge via Shiny, we hope everyone can plant ahead, even at a local scale. <blockquote><a href="https://appsilon.com/how-to-share-r-shiny-apps/" target="_blank" rel="noopener">Learn how to share your Shiny app</a>.</blockquote> By giving users a glimpse into the future, Future Forests can help users make data-driven decisions about their trees. Policymakers can use the information to determine policies for protecting natural resources. Conservationists can learn where to focus their preservation efforts. Silviculturalists can decide which trees to plant and where. Neighbors can understand the benefits of having trees in their communities. Users can tailor their searches to their specific needs and areas/species of interest, and explore policy or prioritize business strategies accordingly.  Ultimately, our Shiny apps help make better, data-driven decisions. With Future Forests we can cultivate more appropriate forests for future climates. In turn, we can mitigate the rising tide of Zombie Forests. <h2>Zombie Forests, Climate Change, and Creating Hope with Data Science</h2> We find value and trust in the scientific process. Climate change and its effects are here, but we can still mitigate and adapt. We can take scientific findings, apply our knowledge in our field, and connect decision-makers with the data. We hope our tools, like Future Forests, can be used to prevent <a href="https://www.fs.usda.gov/features/roots-shoots-three-million-seedlings-towards-restoration" target="_blank" rel="nofollow noopener">mass, ill-advised plantings</a> and speed up the recovery of our planet.  Whether or not zombie forests can be saved, we can at least plant the right seeds for recovery.  If you’re interested in learning more about Data4Good and how we can help apply data science, R/Shiny development, or AI/Machine Learning to your project, please contact us.

Have questions or insights?

Engage with experts, share ideas and take your data journey to the next level!

Is Your Software GxP Compliant?

Download a checklist designed for clinical managers in data departments to make sure that software meets requirements for FDA and EMA submissions.
Explore Possibilities

Share Your Data Goals with Us

From advanced analytics to platform development and pharma consulting, we craft solutions tailored to your needs.

Talk to our Experts
shiny
future forests
climate change
data for good
r