Re: [R] about rect.hclust

2014-04-26 Thread Gregory Jefferis
On 26 Apr 2014, at 06:41, Gregory Jefferis wrote: > # plot dendrogram coloured by cluster: > ## > library(dendroextras) > cluc=colour_clusters(clu, k=3, groupLabels =TRUE) > plot(cluc) There was a typo in an argument name for colour_clusters in my earlier response (thanks to De

Re: [R] about rect.hclust

2014-04-25 Thread Gregory Jefferis
On 26 Apr 2014, at 02:35, chris Jhon wrote: > The question is how to plot the cluster number on the dendrogram plot? Besides Peter Langfelder’s suggestion, you may also want to take a look at CRAN packages dendroextras or dendextend For example using the dendroextras # set up your data ##

Re: [R] How to create a dendrogram with colored branches

2013-08-03 Thread Gregory Jefferis
our dendrogram by number of groups (k) d5=colour_clusters(hc,k=5) plot(d5) #... or by height (h) d5=colour_clusters(hc,h=75) plot(d5) ?colour_clusters for more details. Best wishes, Greg Jefferis. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Mo

[R] Download large file from https url with progress meter

2012-07-10 Thread Gregory Jefferis
seem to find a way for the httr package to show progress. Can anyone suggest an alternative approach? With many thanks, Greg Jefferis. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology, Hills Road,

Re: [R] Read Windows BMP format images

2011-12-08 Thread Dr Gregory Jefferis
Answering my own question in case it is of help to anyone else in future: On 6 Dec 2011, at 09:20, Dr Gregory Jefferis wrote: > Does anyone know of an R package that can read Windows BMP format images? > Many thanks, http://www.bioconductor.org/packages/release/bioc/html/EBImage.html

[R] Read Windows BMP format images

2011-12-06 Thread Dr Gregory Jefferis
Hello, Does anyone know of an R package that can read Windows BMP format images? Many thanks, Greg Jefferis. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology, Hills Road

[R] Reading gzip data from a non zero file offset

2009-09-11 Thread Gregory Jefferis
emporary file, but that isn't portable. Many thanks for your help, Greg. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology, Hills Road, Cambridge, CB2 0QH, UK. http://www2.mrc-lmb.cam.ac.uk/NB/jefferis_g http://www.neuroscience.cam.ac.uk/

[R] Reloading java classes with rJava

2008-04-03 Thread Gregory Jefferis
i386, darwin8.10.1 status major 2 minor 6.2 year 2008 month 02 day08 svn rev44383 language R version.string R version 2.6.2 (2008-02-08) -- Gregory Jefferis, PhD and: Resea

[R] 3d line smoothing

2008-03-31 Thread Gregory Jefferis
uot;, "28", "29", "30", "31", "32"), class = "data.frame") # install.packages('rgl') require(rgl) # First line OK rgl.linestrips(l) rgl.linestrips(LineSmooth3d(l),col='red') # second line not so g