[R] Help modifying "aheatmap" or find a new heatmap package

2016-09-17 Thread Michael Young
I am currently using "aheatmap" which is generating heatmaps based on Pearson correlation. My data consists of RPKM values for genes from 2 groups. Each group has about 70 samples. Is there anyway that I can modify "aheatmap" so that it generates heat maps based on the actual input values (RPKM)

[R] Help modifying "aheatmap" or find a new heatmap package

2016-09-17 Thread Michael Young
I am currently using "aheatmap" which is generating heatmaps based on Pearson correlation. My data consists of RPKM values for genes from 2 groups. Each group has about 70 samples. Is there anyway that I can modify "aheatmap" so that it generates heat maps based on the actual input values (RPKM)

Re: [R] pairs: adjusting margins and labeling axes

2016-07-20 Thread Michael Young
t exactly how much space to put in the > outer margins will probably not be trivial. > > Another option would be to not use `pairs`, but use the `layout` > function directly and loops to do your plots (and use the `respect` > argument to `layout`). > > On Tue, Jul 19, 2016

[R] pairs: adjusting margins and labeling axes

2016-07-19 Thread michael young
The default shape for this correlation scatterplot is rectangle. I changed it to square, but then the x-axis spacing between squares are off. Is there an easy way to change x-axis spacing between squares to that of the y-axis spacing size? I decided to hide the name values of the diagonal square

Re: [R] Assigning a new name to object loaded with "load()"

2012-07-27 Thread Michael Young
Another method, similar to William's. x <- 3 save(x,file="test.Rdata") x <- 4 y <- local({ load("test.Rdata") stopifnot(length(ls())==1) environment()[[ls()]] }) On Fri, Jul 27, 2012 at 3:53 PM, Rolf Turner wrote: > On 28/07/12 06:59, Alireza Mahani wrote: >> >> I w

Re: [R] density

2012-07-25 Thread Michael Young
I can't help you decide which bandwidth method to use, but here's how you view the density source code... methods("density") density.default On Wed, Jul 25, 2012 at 5:56 PM, li li wrote: > > Hi all, > I have a question regarding the density function which gives the > kernel density estimator.

[R] Negating two identical characters with regular expressions

2011-06-05 Thread Michael Young
at I really want is a to create a class of two dashes in a row and then negate that. Is it possible to create a class of repeated characters? If so, it might be further complicated that "-" is a special character in brackets and can only go first or last. Can anyon