Error in pheatmap: formal argument "scale" matched by multiple actual arguments
1
0
Entering edit mode
6.3 years ago
hsu ▴ 40

Hello

I am using pheatmap and my code is :

pheatmap(RPL_fpkm_data, scale = "row", annotation_col = a,
         treeheight_row=0, treeheight_col=0, cluster_cols = FALSE,
         cluster_rows = FALSE,scale = "none", show_colnames=F,
         color = colorRampPalette(colors = c("blue","white","red"))(100))

There is the error:

Error in pheatmap(RPL_fpkm_data, scale = "row", annotation_col = a, treeheight_row = 0,  : 
  formal argument "scale" matched by multiple actual arguments

I appreaciate your help

R pheatmap • 5.0k views
ADD COMMENT
2
Entering edit mode
6.3 years ago

scale = "row" and scale = "none" in conflict in your function, you defined them twice.

ADD COMMENT

Login before adding your answer.

Traffic: 1909 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6