muffz.plot2
1
0
Entering edit mode
xiao • 0
@52432a29
Last seen 8 weeks ago
Singapore
> custom_colors <- colorRampPalette(c("blue", "green", "yellow", "red"))(100)
> # Use custom color ramp
> mfuzz.plot2(mfuzz_class,
+ cl = mfuzz_cluster,
+ mfrow = c(2, 5),
+ colo = custom_colors,
+ time.labels = colnames(TPM_JA),
+ x11 = FALSE,
+ center = TRUE)
Error in if (colo == "fancy") {: the condition has length > 1
Mfuzz • 152 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

The help page for mfuzz.plot2 says

colo       color palette to be used for plotting. If the color argument remains empty, the
           default palette is used. If the colo = "fancy", an alternative (fancier) palette
           will be used.

The colo argument for mfuzz.plot will accept a color palette however.

Login before adding your answer.

Traffic: 881 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