Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
HendrikSchultheis committed Jul 23, 2019
1 parent 97ab805 commit 1955f55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/i2dash.R
@@ -1,7 +1,7 @@
#' Prepare a heatmap to be rendered with the i2dash package.
#'
#' @param object A \linkS4class{i2dash::i2dashboard} object.
#' @param countTable A matrix with features as rows and observations as columns. The rownames and columnnames should be provided and are used in buiding the heatmap.
#' @param countTable A matrix with features as rows and observations as columns. The rownames and columnnames should be provided and are used in building the heatmap.
#' @param group_by A vector with numerical values or a named list will be mapped to the y-axis. In case of a named list, a dropdown menu will be provided in the interactive mode. Note: The length of vectors x and y should be the same as well as the length of all vectors in case of a named list.
#' @param compId (Optional) The component ID provided through add_component and used for linking components together.
#' @param title (Optional) The title of the components chunk.
Expand All @@ -22,7 +22,6 @@ heatmap_to_i2dash <- function(object, countTable, group_by, compId = NULL, title
env_id <- paste0("env_", compId)
}


# Create list if element is not a list already
if (!is.list(group_by)) group_by <- list(group_by)

Expand Down

0 comments on commit 1955f55

Please sign in to comment.