Package Mondrian. R topics documented: March 4, Type Package

Similar documents
Package CINID. February 19, 2015

Package datasets.load

Package spark. July 21, 2017

Package sankey. R topics documented: October 22, 2017

Package kirby21.base

Package pairsd3. R topics documented: August 29, Title D3 Scatterplot Matrices Version 0.1.0

Package harrypotter. September 3, 2018

Package TVsMiss. April 5, 2018

Package desplot. R topics documented: April 3, 2018

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package SFtools. June 28, 2017

Package ECctmc. May 1, 2018

Package strat. November 23, 2016

Package fastdummies. January 8, 2018

Package ade4tkgui. R topics documented: November 9, Version Date Title 'ade4' Tcl/Tk Graphical User Interface

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package superheat. February 4, 2017

Package sspline. R topics documented: February 20, 2015

Package areaplot. October 18, 2017

Package gameofthrones

Package jstree. October 24, 2017

Package gtrendsr. October 19, 2017

Package gtrendsr. August 4, 2018

Package ConvergenceClubs

Package CorporaCoCo. R topics documented: November 23, 2017

Package corclass. R topics documented: January 20, 2016

Package cgh. R topics documented: February 19, 2015

Package EnQuireR. R topics documented: February 19, Type Package Title A package dedicated to questionnaires Version 0.

Package tidyimpute. March 5, 2018

Package crossword.r. January 19, 2018

Package validara. October 19, 2017

Package optimus. March 24, 2017

Package mixphm. July 23, 2015

Package collapsibletree

Package waterfall. R topics documented: February 15, Type Package. Version Date Title Waterfall Charts in R

Package gifti. February 1, 2018

Package bisect. April 16, 2018

Package nos. September 11, 2017

Package signalhsmm. August 29, 2016

Package sfc. August 29, 2016

Package Numero. November 24, 2018

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package canvasxpress

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package rafalib. R topics documented: August 29, Version 1.0.0

Package abf2. March 4, 2015

Package wethepeople. March 3, 2013

Package pca3d. February 17, 2017

Package docxtools. July 6, 2018

Package MmgraphR. R topics documented: September 14, Type Package

Package sessioninfo. June 21, 2017

Package messaging. May 27, 2018

Package rgho. R topics documented: January 18, 2017

Package projector. February 27, 2018

Package ClustGeo. R topics documented: July 14, Type Package

Package JOP. February 19, 2015

Package gridgraphics

Package regexselect. R topics documented: September 22, Version Date Title Regular Expressions in 'shiny' Select Lists

Package plotluck. November 13, 2016

Package qboxplot. November 12, qboxplot... 1 qboxplot.stats Index 5. Quantile-Based Boxplots

Package lvplot. August 29, 2016

Package mdftracks. February 6, 2017

Package meme. November 2, 2017

Package SCVA. June 1, 2017

Package nonlinearicp

Package editdata. October 7, 2017

Package munfold. R topics documented: February 8, Type Package. Title Metric Unfolding. Version Date Author Martin Elff

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package manet. September 19, 2017

Package sure. September 19, 2017

Package slickr. March 6, 2018

Package basictrendline

Package hpoplot. R topics documented: December 14, 2015

Package r2d2. February 20, 2015

Package gains. September 12, 2017

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package repec. August 31, 2018

Package CLA. February 6, 2018

Package seg. February 15, 2013

Package qicharts2. March 3, 2018

Package kdtools. April 26, 2018

Package PCADSC. April 19, 2017

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package meme. December 6, 2017

Package CatEncoders. March 8, 2017

Package panelview. April 24, 2018

Package CuCubes. December 9, 2016

Package GLDreg. February 28, 2017

Package farver. November 20, 2018

Package scraep. July 3, Index 6

Package raker. October 10, 2017

Package rtsplot. September 15, 2018

Package postgistools

Package fbroc. August 29, 2016

Package DCD. September 12, 2017

Package pcapa. September 16, 2016

Package calpassapi. August 25, 2018

Package anidom. July 25, 2017

Package smoothr. April 4, 2018

Package estprod. May 2, 2018

Transcription:

Type Package Package Mondrian March 4, 2016 Title A Simple Graphical Representation of the Relative Occurrence and Co-Occurrence of Events The unique function of this package 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. Version 1.0-0 Date 2016-03-04 Author Aurélie Siberchicot, Delphine Charif, Gabriel Terraz and Fabrice Vavre Maintainer Aurélie Siberchicot <aurelie.siberchicot@univ-lyon1.fr> Imports RColorBrewer License GPL (>= 2.0) LazyData yes Encoding UTF-8 URL https://github.com/aursiber/mondrian BugReports https://github.com/aursiber/mondrian/issues NeedsCompilation no Repository CRAN Date/Publication 2016-03-04 17:34:11 R topics documented: Mondrian-package..................................... 2 endosymbiont_1pop..................................... 2 endosymbiont_3pop..................................... 3 mondrian.......................................... 4 1

2 endosymbiont_1pop Index 6 Mondrian-package A Simple Graphical Representation of the Relative Occurrence and Co-Occurrence of Events Details The unique function of this package 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. Package: Mondrian Type: Package Version: 1.0-0 Date: 2016-01-07 License: GPL (>=2) Author(s) Aurélie Siberchicot <aurelie.siberchicot@univ-lyon1.fr>, Delphine Charif, Gabriel Terraz and Fabrice Vavre See Also mondrian endosymbiont_1pop Multiple infection profiles in one population Presence/absence data about 3 endosymbionts in each of 10 individuals belonging to the same population.

endosymbiont_3pop 3 Usage data("endosymbiont_1pop") Format A data frame with 10 observations (each individual, in rows) on the following 3 variables (each endosymbiont, in columns): C, H, and W are numeric vectors indicating if the endosymbiont is detected. The presence of a symbiont in an individual is indicated by 1 and its absence by 0. Examples data(endosymbiont_1pop) ## Compute the occurrence table of multiple infection profiles rev(table(apply(endosymbiont_1pop, 1, paste, collapse = ""))) ## 110 011 010 ## 6 2 2 endosymbiont_3pop Multiple infection profiles in three populations Presence/absence data of 5 endosymbionts in each of 30 individuals belonging to three distinct populations. Usage data("endosymbiont_3pop") Format A data frame with 30 observations (each individual, in rows) on the following 6 variables (including 5 endosymbionts, in columns): pop is a factor (with 3 levels: AlxT, MalD and MslCh) indicating which of the three populations each individuals belongs and A, C, H, R and W are numeric vectors indicating if the endosymbiont is detected. The presence of a symbiont in an individual is indicated by 1 and its absence by 0. Examples data(endosymbiont_3pop) table(endosymbiont_3pop$pop) ## AlxT MalD MslCh ## 10 10 10

4 mondrian mondrian Computes and displays the relative occurrence and co-occurence of events This function 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). The graphical output recalls Mondrian s paintings. Usage mondrian(data, labels = colnames(data), xlab = "", ylab = "", main = "", col = NULL, pop = NULL, indiv = FALSE,...) Arguments data labels xlab ylab main col pop indiv a data frame or a matrix containing the infection profile of each individual for each symbiont. Rows corresponds to individuals and columns to the symbionts. a vector containing the symbionts name. By default, labels are the columns name of data. a string of characters indicating the x-axis label. a string of characters indicating the y-axis label. a string of characters indicating the main title of the displayed output. This string is followed by the number of individuals to constitute the actual main title. a vector containing as many colors as symbionts. See Details. a number index indicating the number of the column containing the population s factor in data. If it is missing, individuals are considering belonging to a unique population and data must not contain a pop column. a logical to draw horizontal lines separating each individual profile.... graphical parameters. See plot and par. Details By default, rectangles colors come from the Set1 palette defined by the brewer.pal function of the RColorBrewer package. This palette automatically proposes distinct colors (more than 2 and less than 10 values).

mondrian 5 Value The mondrian function yields two outputs: - a plot representing the occurence and co-occurence of symbionts within individuals, recalling famous Mondrian paintings. Individuals are represented by horizontal lines, and each column represents one symbiont. Horizontal lines (representing individuals) are reordered to optimize the reading. Uninfected individuals are always represented in white. For each column, the coloured area corresponds to the total prevalence of this symbiont. When coloured areas are present in different columns, this indicates co-infection. If individuals belong to different populations (pop is not null), the graphical output is a layout with one display for each sub-population and one display where all individuals are considered belonging to a unique population. - the distinct profiles of multiple infection and their prevalence (considering all symbionts in data) in the whole population and in each sub-population (when pop is not null). See Also brewer.pal Examples data(endosymbiont_1pop) out1 <- mondrian(endosymbiont_1pop) out1 ## 110 011 010 ## 0.6 0.2 0.2 data(endosymbiont_3pop) out2 <- mondrian(endosymbiont_3pop, pop = 1) out2 ## $AlxT ## 01100 ## 1 ## $MalD ## 10111 10011 01101 00100 ## 0.1 0.1 0.1 0.7 ## $MslCh ## 10111 10011 10010 10001 00110 00010 ## 0.1 0.1 0.4 0.1 0.1 0.2 ## $pop ## 10111 10011 10010 10001 01101 01100 ## 0.06666667 0.06666667 0.13333333 0.03333333 0.03333333 0.33333333 ## 00110 00100 00010 ## 0.03333333 0.23333333 0.06666667 names(out2) ## [1] "AlxT" "MalD" "MslCh" "pop"

Index Topic datasets endosymbiont_1pop, 2 endosymbiont_3pop, 3 Topic dplot mondrian, 4 Topic hplot mondrian, 4 Topic package Mondrian-package, 2 brewer.pal, 5 endosymbiont_1pop, 2 endosymbiont_3pop, 3 Mondrian (Mondrian-package), 2 mondrian, 2, 4 Mondrian-package, 2 par, 4 plot, 4 6