Entering edit mode
Enter the body of text here
Code should be placed in three backticks as shown below
# include your problematic code here with any corresponding output
# please also include the results of running the following in an R session
sessionInfo( )
#3: correlation heatmap (+hierarchical clustering)
cor_raw<-cor(log_raw_ex)
library(pheatmap)
library(ggplot2)
group2<-c (paste0("collagen",1:2) ,paste0("collagen and cisplatin",1:2),paste0("non",
"non",1:4))
group2
pheatmap(cor_raw ,
cellwidth=20,
cellheight=20,
labels_row=group2,
labels_col=group2,
color="blue2","yellow","burlywood3",
clustering_distance_cols ="binary",
clustering_distance_rows ="binary")
error Error in sample.int(m, k) : vector size cannot be NA/NaN In addition: Warning message: In sample.int(m, k) : NAs introduced by coercion
Please guide