We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm attempting to run a block for HeatmapAnnotation. I'm getting the error:
"Error in col2rgb(colors, alpha = TRUE : invalid RGB specification" I've copied the code below:
ha_column = HeatmapAnnotation(df = df, col = list(Diagnosis = c("Uterine endometrial" = "#DDCC77F", "Ovarian endometrioid" = "#0F7554", "Ovarian mucinous" = "#44AA99", "Colorectal mucinous" = "#882255", "Pancreas mucinous" = "#AA4499", "Stomach mucinous" = "#D695D0"),
Tumor.Normal = c("N" = "grey", "T" = "black"),
study = c("cgid" = "#332288", "tcga" = "#BD9AF7")))
I'm running rstudio 2022.02.2 Build 485 with R 4.2 on an Apple Mac Pro running macOS Monterey version 12.3.1.
Please advise what the problem might be. Many thanks in advance.
The text was updated successfully, but these errors were encountered:
Cross-posted and solved on Bioinfo SE: https://bioinformatics.stackexchange.com/q/19022/650
Sorry, something went wrong.
The color code "#DDCC77F" should be either "#DDCC77FF" or "#DDCC77".
"#DDCC77F"
"#DDCC77FF"
"#DDCC77"
No branches or pull requests
I'm attempting to run a block for HeatmapAnnotation. I'm getting the error:
"Error in col2rgb(colors, alpha = TRUE : invalid RGB specification"
I've copied the code below:
ha_column = HeatmapAnnotation(df = df,
col = list(Diagnosis = c("Uterine endometrial" = "#DDCC77F", "Ovarian endometrioid" = "#0F7554", "Ovarian mucinous" = "#44AA99", "Colorectal mucinous" = "#882255",
"Pancreas mucinous" = "#AA4499",
"Stomach mucinous" = "#D695D0"),
Tumor.Normal = c("N" = "grey", "T" = "black"),
study = c("cgid" = "#332288", "tcga" = "#BD9AF7")))
I'm running rstudio 2022.02.2 Build 485 with R 4.2 on an Apple Mac Pro running macOS Monterey version 12.3.1.
Please advise what the problem might be. Many thanks in advance.
The text was updated successfully, but these errors were encountered: