Re: [Bioc-devel] Use set.seed inside function

2021-11-30 Thread Kasper Daniel Hansen
that you don't actually want random colors, but instead > you > > want the same colors each time. Why not just generate the vector of > 'random > > distinct colors' one time and save the vector of colors? > > > > -----Original Message- &

Re: [Bioc-devel] Use set.seed inside function

2021-11-30 Thread Martin Morgan
one time and save the vector of colors? > > -Original Message- > From: Bioc-devel On Behalf Of Meng Chen > Sent: Monday, November 29, 2021 3:21 PM > To: bioc-devel@r-project.org > Subject: [Bioc-devel] Use set.seed inside function > >

Re: [Bioc-devel] Use set.seed inside function

2021-11-29 Thread Meng, Chen
that you don't actually want random colors, but instead you want the same colors each time. Why not just generate the vector of 'random distinct colors' one time and save the vector of colors? -----Original Message- From: Bioc-devel On Behalf Of Meng Chen Sent: Monday, November 29

Re: [Bioc-devel] Use set.seed inside function

2021-11-29 Thread Henrik Bengtsson
colors, but instead you > > want the same colors each time. Why not just generate the vector of 'random > > distinct colors' one time and save the vector of colors? > > > > -Original Message- > > From: Bioc-devel On Behalf Of Meng Chen > &

Re: [Bioc-devel] Use set.seed inside function

2021-11-29 Thread Meng Chen
Chen > Sent: Monday, November 29, 2021 3:21 PM > To: bioc-devel@r-project.org > Subject: [Bioc-devel] Use set.seed inside function > > Dear BioC team and developers, > > I am using BiocCheck to check my package, it returns a warning: > " Remove set.seed

Re: [Bioc-devel] Use set.seed inside function

2021-11-29 Thread James W. MacDonald
onday, November 29, 2021 3:21 PM To: bioc-devel@r-project.org Subject: [Bioc-devel] Use set.seed inside function Dear BioC team and developers, I am using BiocCheck to check my package, it returns a warning: " Remove set.seed usage in R code" I am using "set.seed" inside my

[Bioc-devel] Use set.seed inside function

2021-11-29 Thread Meng Chen
Dear BioC team and developers, I am using BiocCheck to check my package, it returns a warning: " Remove set.seed usage in R code" I am using "set.seed" inside my functions, before calling function distinctColorPalette (randomcoloR package) in order to generate reproducible "random distinct colors