Applying a colour palette to a matrix
I have built a randomly generated matrix which is 10x10 in size. I need to apply a colour palette to the matrix does anyone have the coding which can do this for me?
#random matrix
my_matrix=matrix(round((runif(100,0,225)),0),nrow = 10)
• 477 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello fraser.g.mccall!
We believe that this post does not fit the main topic of this site.
Not a bioinformatics question, please search StackOverflow
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!
Read about
imageandheatmapfunctions.