Añadida a la función ggheatmap la posibilidad de colorear las líneas.

This commit is contained in:
Costa
2022-02-10 19:09:47 +01:00
parent 6a0501eb71
commit bbaa881479
2 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -2,7 +2,7 @@
\alias{ggheatmap}
\title{ggheatmap}
\usage{
ggheatmap(df, x=NULL, y=NULL, value=NULL, grouping="mean", exclude_group=NULL, scale="none")
ggheatmap(df, x=NULL, y=NULL, value=NULL, grouping="mean", exclude_group=NULL, scale="none", color="#FFFFFF00")
}
\arguments{
\item{df}{A data frame in "long" format.}
@@ -12,6 +12,7 @@ ggheatmap(df, x=NULL, y=NULL, value=NULL, grouping="mean", exclude_group=NULL, s
\item{grouping}{The function that will be used to group if there is more than one observation for each X-Y combination. "mean" or "median" are posible, defaulting to "mean".}
\item{exclude_group}{If you want to exclude columns from grouping, you can introduce a character vector here. Useful if you want to facet the plot.}
\item{scale}{Escales (z-score) by "rows" or "cols" if diferent of "none" (default).}
\item{color}{The color of the lines of geom_tile (the border). By default, its transparent.}
}
\description{
Generates a heatmap using ggplot for a dataframe.