Adding Custom color to the plotmclust
SmritiChawla opened this issue · 2 comments
SmritiChawla commented
Hi
How I can add custom colors to cells using plotmclust()
Thanks & Regards
Smriti
zji90 commented
Hi Smriti,
You can do something like this:
plotmclust(lpsmclust) +
scale_color_manual(values=c('red','magenta','purple'))
You can change c('red','magenta','purple') to any color you want. The
number of elements in values should be the same as the number of clusters.
Best,
Jason
…--
Zhicheng Ji
PhD Candidate Department of Biostatistics
M.S.E Student Department of Computer Science
Johns Hopkins University
On Sun, Feb 10, 2019 at 2:30 PM Smriti1990 ***@***.***> wrote:
Hi
How I can add custom colors to cells using plotmclust()
Thanks & Regards
Smriti
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD0QUuZRXGHO_70RTadH3ZefRCpOejZRks5vMHNogaJpZM4azOfQ>
.
SmritiChawla commented
Thank you so very much.
RegardsSmriti
Sent from Yahoo Mail on Android
On Mon, 11 Feb 2019 at 2:04 AM, Zhicheng Ji<notifications@github.com> wrote: Hi Smriti,
You can do something like this:
plotmclust(lpsmclust) +
scale_color_manual(values=c('red','magenta','purple'))
You can change c('red','magenta','purple') to any color you want. The
number of elements in values should be the same as the number of clusters.
Best,
Jason
--
Zhicheng Ji
PhD Candidate Department of Biostatistics
M.S.E Student Department of Computer Science
Johns Hopkins University
On Sun, Feb 10, 2019 at 2:30 PM Smriti1990 ***@***.***> wrote:
Hi
How I can add custom colors to cells using plotmclust()
Thanks & Regards
Smriti
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD0QUuZRXGHO_70RTadH3ZefRCpOejZRks5vMHNogaJpZM4azOfQ>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.