Hello,
Thank you for this useful package!
I have a problem with rownames that disappear when I manipulate the dataframe with dplyr before using d3heatmap. For example, this displays row names correctly:
library(d3heatmap)
url <- "http://datasets.flowingdata.com/ppg2008.csv"
nba_players <- read.csv(url, row.names = 1)
d3heatmap(nba_players, scale = "column")
but this is no longer the case here:
library(d3heatmap)
library(tidyverse)
url <- "http://datasets.flowingdata.com/ppg2008.csv"
nba_players <- filter(read.csv(url, row.names = 1), FGA < 100)
d3heatmap(nba_players, scale = "column")
I think that it is due to the fact that row names are deprecated in tibbles, as discussed here:
tidyverse/tibble#123.
Is there a workaround ?
Thank you for your help!
Hello,
Thank you for this useful package!
I have a problem with rownames that disappear when I manipulate the dataframe with dplyr before using d3heatmap. For example, this displays row names correctly:
but this is no longer the case here:
I think that it is due to the fact that row names are deprecated in tibbles, as discussed here:
tidyverse/tibble#123.
Is there a workaround ?
Thank you for your help!