README.md

Mondrian: Display the relative occurrence and co-occurrence of events in a sample

CRAN_Status_Badge CRAN Downloads R-CMD-check

The unique function of the Mondrian package, named mondrian, allows representing in a single graph the relative occurrence and co-occurrence of events measured in a sample. As examples, the package was applied to describe the occurrence and co-occurrence of different species of bacterial or viral symbionts infecting arthropods at the individual level. The graphics allows determining the prevalence of each symbiont and the patterns of multiple infections (i.e. how different symbionts share or not the same individual hosts). We named the package after the famous painter as the graphical output recalls Mondrian’s paintings.

The package

The stable version of Mondrian can be installed from CRAN using:

install.packages("Mondrian")

The development version of Mondrian can be installed from GitHub (remotes needed):

if (!requireNamespace("remotes", quietly = TRUE))
   install.packages("remotes")

remotes::install_github("lbbe-software/Mondrian")

Finally load the package in your current R session with the following R command:

library(Mondrian)

The shiny app

A web application (a Shiny application) is available to use the functionalities of the Mondrian package in an interactive way. In this application, two examples are shown. The user can also upload its own data and compute the mondrian function on it. The display output can then be saved.

MondrianShiny can be run on a R session, doing:

shiny::runApp(system.file("MondrianShiny", package = "Mondrian"))

or online at: https://lbbe-shiny.univ-lyon1.fr/Mondrian/inst/MondrianShiny/

This shiny app is runing with the development version of Mondrian.

Articles which use Mondrian functionalities



aursiber/Mondrian documentation built on March 13, 2024, 12:41 a.m.