Package d3heatmap. February 1, 2018

Similar documents
Package canvasxpress

Package slickr. March 6, 2018

Package jstree. October 24, 2017

Package profvis. R topics documented:

Package sigmanet. April 23, 2018

Package htmlwidgets. February 25, 2016

Package htmlwidgets. July 10, 2017

Package scatterd3. March 10, 2018

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

Package shinyfeedback

Package vdiffr. April 27, 2018

Package d3plus. September 25, 2017

Package colourpicker

Package collapsibletree

Package shinyaframe. November 26, 2017

Package TnT. November 22, 2017

Package TROM. August 29, 2016

Package editdata. October 7, 2017

Package shiny.semantic

Package shinyhelper. June 21, 2018

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

Package processanimater

Package tabulizer. June 7, 2018

Package htmltidy. September 29, 2017

Package fastdummies. January 8, 2018

Package ECctmc. May 1, 2018

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

Package tiler. June 9, 2018

Package tablehtml. November 5, 2017

Package eply. April 6, 2018

Package semantic.dashboard

Package datasets.load

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

Package pdfsearch. July 10, 2018

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package superheat. February 4, 2017

Package condformat. October 19, 2017

Package revealjs. R topics documented: March 13, Type Package

Package networkd3. December 31, Type Package Title D3 JavaScript Network Graphs from R

Package arulesviz. April 24, 2018

Package barcoder. October 26, 2018

Package qualmap. R topics documented: September 12, Type Package

Package readxl. April 18, 2017

Package radix. September 17, 2018

Package comphclust. May 4, 2017

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

Package tfruns. February 18, 2018

Package docxtools. July 6, 2018

Package ggrepel. September 30, 2017

Package deckgl. November 19, 2018

Package gridgraphics

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

Package RLumShiny. June 18, 2018

Package filematrix. R topics documented: February 27, Type Package

Package shinydashboard

Package shinytest. May 7, 2018

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package memery. February 13, 2018

Package ipc. January 12, 2019

Package DT. June 9, 2015

Package texpreview. August 15, 2018

Package projector. February 27, 2018

Package balance. October 12, 2018

Package ggextra. April 4, 2018

Package datapasta. January 24, 2018

Package spark. July 21, 2017

Package leaflet.minicharts

Package liftr. R topics documented: May 14, Type Package

Package knitrprogressbar

Package ggmosaic. February 9, 2017

Package svglite. September 11, 2017

Package crossrun. October 8, 2018

Package bisect. April 16, 2018

Package AdhereR. June 15, 2018

Package future.apply

Package NetCluster. R topics documented: February 19, Type Package Version 0.2 Date Title Clustering for networks

Package metricsgraphics

Package rplotengine. R topics documented: August 8, 2018

Package robotstxt. November 12, 2017

Package semver. January 6, 2017

Package nngeo. September 29, 2018

Package sigqc. June 13, 2018

Package rtext. January 23, 2019

Package linkspotter. July 22, Type Package

Package reval. May 26, 2015

Package clipr. June 23, 2018

Package crossword.r. January 19, 2018

Package condir. R topics documented: February 15, 2017

Package sfc. August 29, 2016

Package meme. November 2, 2017

Package dotcall64. January 11, 2018

Package validara. October 19, 2017

Package SC3. November 27, 2017

Package tibble. August 22, 2017

Package rvg. February 13, 2018

Package rhandsontable

Package githubinstall

Package gifti. February 1, 2018

Package zoomgrid. January 3, 2019

Package gtrendsr. August 4, 2018

Transcription:

Type Package Package d3heatmap February 1, 2018 Title Interactive Heat Maps Using 'htmlwidgets' and 'D3.js' Version 0.6.1.2 Date 2016-02-23 Maintainer ORPHANED Description Create interactive heat maps that are usable from the R console, in the 'RStudio' viewer pane, in 'R Markdown' documents, and in 'Shiny' apps. Hover the mouse pointer over a cell to show details, drag a rectangle to zoom, and click row/column labels to highlight. License GPL-3 file LICENSE Imports scales (>= 0.2.5), htmlwidgets, png, base64enc, dendextend (>= 0.18.0), stats, grdevices Suggests shiny, knitr, rmarkdown VignetteBuilder knitr, rmarkdown URL https://github.com/rstudio/d3heatmap BugReports https://github.com/rstudio/d3heatmap/issues Collate 'd3heatmap.r' 'dendrogram.r' RoxygenNote 5.0.1 NeedsCompilation no Author Joe Cheng [aut, cre], Tal Galili [aut], RStudio, Inc. [cph], Michael Bostock [ctb, cph] (D3.js library), Justin Palmer [ctb, cph] (d3.tip library) Repository CRAN Date/Publication 2018-02-01 15:19:34 UTC X-CRAN-Original-Maintainer Joe Cheng <joe@rstudio.com> X-CRAN-Comment Orphaned on 2018-02-01 as check errors were not corrected despite reminders. 1

2 d3heatmap R topics documented: d3heatmap.......................................... 2 d3heatmapoutput...................................... 4 Index 6 d3heatmap D3 Heatmap widget Description Creates a D3.js-based heatmap widget. Usage d3heatmap(x, Rowv = TRUE, Colv = if (symm) "Rowv" else TRUE, distfun = dist, hclustfun = hclust, dendrogram = c("both", "row", "column", "none"), reorderfun = function(d, w) reorder(d, w), k_row, k_col, symm = FALSE, revc, scale = c("none", "row", "column"), na.rm = TRUE, labrow = rownames(x), labcol = colnames(x), cexrow, cexcol, digits = 3L, cellnote, cellnote_scale = FALSE, theme = NULL, colors = "RdYlBu", width = NULL, height = NULL, xaxis_height = 80, yaxis_width = 120, xaxis_font_size = NULL, yaxis_font_size = NULL, brush_color = "#0000FF", show_grid = TRUE, anim_duration = 500,...) Arguments x Rowv Colv distfun hclustfun dendrogram A numeric matrix Defaults to TRUE unless x contains any NAs. determines if and how the row dendrogram should be reordered. By default, it is TRUE, which implies dendrogram is computed and reordered based on row means. If NULL or FALSE, then no dendrogram is computed and no reordering is done. If a dendrogram, then it is used "as-is", ie without any reordering. If a vector of integers, then dendrogram is computed and reordered based on the order of the vector. determines if and how the column dendrogram should be reordered. Has the options as the Rowv argument above and additionally when x is a square matrix, Colv = "Rowv" means that columns should be treated identically to the rows. function used to compute the distance (dissimilarity) between both rows and columns. Defaults to dist. function used to compute the hierarchical clustering when Rowv or Colv are not dendrograms. Defaults to hclust. character string indicating whether to draw none, row, column or both dendrograms. Defaults to both. However, if Rowv (or Colv) is FALSE or NULL and dendrogram is both, then a warning is issued and Rowv (or Colv) arguments are honoured.

d3heatmap 3 reorderfun k_row k_col symm revc scale na.rm labrow labcol cexrow cexcol digits cellnote function(d, w) of dendrogram and weights for reordering the row and column dendrograms. The default uses statsreorder.dendrogram an integer scalar with the desired number of groups by which to color the dendrogram s branches in the rows (uses color_branches) an integer scalar with the desired number of groups by which to color the dendrogram s branches in the columns (uses color_branches) logical indicating if x should be treated symmetrically; can only be true when x is a square matrix. logical indicating if the column order should be reversed for plotting. Default (when missing) - is FALSE, unless symm is TRUE. This is useful for cor matrix. character indicating if the values should be centered and scaled in either the row direction or the column direction, or none. The default is "none". logical indicating whether NA s should be removed. character vectors with row labels to use (from top to bottom); default to rownames(x). character vectors with column labels to use (from left to right); default to colnames(x). positive numbers. If not missing, it will override xaxis_font_size and will give it a value cexrow*14 positive numbers. If not missing, it will override yaxis_font_size and will give it a value cexcol*14 integer indicating the number of decimal places to be used by round for label. (optional) matrix of the same dimensions as x that has the human-readable version of each value, for displaying to the user on hover. If NULL, then x will be coerced using as.character. If missing, it will use x, after rounding it based on the digits parameter. cellnote_scale logical (default is FALSE). IF cellnote is missing and x is used, should cellnote be scaled if x is also scaled? theme colors width height xaxis_height A custom CSS theme to use. Currently the only valid values are "" and "dark". "dark" is primarily intended for standalone visualizations, not R Markdown or Shiny. Either a colorbrewer2.org palette name (e.g. "YlOrRd" or "Blues"), or a vector of colors to interpolate in hexadecimal "#RRGGBB" format, or a color interpolation function like colorramp. Width in pixels (optional, defaults to automatic sizing). Height in pixels (optional, defaults to automatic sizing). Size of axes, in pixels. yaxis_width Size of axes, in pixels. xaxis_font_size Font size of axis labels, as a CSS size (e.g. "14px" or "12pt"). yaxis_font_size Font size of axis labels, as a CSS size (e.g. "14px" or "12pt").

4 d3heatmapoutput Source brush_color show_grid anim_duration... currently ignored The base color to be used for the brush. The brush will be filled with a lowopacity version of this color. "#RRGGBB" format expected. TRUE to show gridlines, FALSE to hide them, or a numeric value to specify the gridline thickness in pixels (can be a non-integer). Number of milliseconds to animate zooming in and out. For large x it may help performance to set this value to 0. The interface was designed based on heatmap and heatmap.2 See Also heatmap, heatmap.2 Examples library(d3heatmap) d3heatmap(mtcars, scale = "column", colors = "Blues") d3heatmapoutput Wrapper functions for using d3heatmap in shiny Description Use d3heatmapoutput to create a UI element, and renderd3heatmap to render the heatmap. Usage d3heatmapoutput(outputid, width = "100%", height = "400px") renderd3heatmap(expr, env = parent.frame(), quoted = FALSE) Arguments outputid width, height expr env quoted Output variable to read from The width and height of the map (see shinywidgetoutput) An expression that generates a d3heatmap object The environment in which to evaluate expr Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

d3heatmapoutput 5 Examples library(d3heatmap) library(shiny) ui <- fluidpage( h1("a heatmap demo"), selectinput("palette", "Palette", c("ylorrd", "RdYlBu", "Greens", "Blues")), checkboxinput("cluster", "Apply clustering"), d3heatmapoutput("heatmap") ) server <- function(input, output, session) { output$heatmap <- renderd3heatmap({ d3heatmap( scale(mtcars), colors = input$palette, dendrogram = if (input$cluster) "both" else "none" ) }) } shinyapp(ui, server)

Index as.character, 3 color_branches, 3 colorramp, 3 d3heatmap, 2, 4 d3heatmapoutput, 4 heatmap, 4 heatmap.2, 4 renderd3heatmap (d3heatmapoutput), 4 round, 3 shinywidgetoutput, 4 6