you expressed it you can do e.g.
>
> paste(S, append(X, rep(NA, length(S)-length(X
>
> Cheers
> Petr
>
>
> > -Original Message-
> > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Preeti
> > ranjan Pradhan
> > Sent: Thursday,
Hello Team,
Platform:Windows 7 32-bit
R Version:3.2.2
I have two vectors as follows
> S = c("aa", "bb", "cc", "dd", "ee")
> X= c("aa", "bb", "cc", "dd")
When I trying a paste function
> z=paste(S,X)
> z
I am getting result as
[1] "aa aa" "bb bb" "cc cc" "dd dd" "ee aa"
I don't need the last
Hi,
I would like to analyze some agilent aCGH copy number files. As a start, I
would like to normalize this data. I don't know what is the standard way to
do this. Which package is the standard one that people use for this
purpose? The chips that I am looking at are the agilent sure print 1M
(G444
On Wed, May 23, 2012 at 11:54 AM, peter dalgaard wrote:
>
> On May 23, 2012, at 19:30 , Preeti wrote:
>
> > Hmm.. that is interesting... I did this on our server machine which has
> > about 200 cores. So memory is not an issue. Also, building the dataframe
> > takes
-lapply(unique(colnames(df)), function(x)
> rowMedians(as.matrix(df[,colnames(df) == x]),na.rm=TRUE))
>
> takes really long time to execute ( in hours). Is there a faster way to do
> this?
>
> Thanks!
>
> On Tue, May 22, 2012 at 3:46 PM, Preeti wrote:
>
> Thanks Hen
Hello Everybody,
The code:
dfmed<-lapply(unique(colnames(df)), function(x)
rowMedians(as.matrix(df[,colnames(df) == x]),na.rm=TRUE))
takes really long time to execute ( in hours). Is there a faster way to do
this?
Thanks!
On Tue, May 22, 2012 at 3:46 PM, Preeti wrote:
> Thanks Henrik
apply(x,
> MARGIN=1, FUN=median). /Henrik
>
> On Tue, May 22, 2012 at 12:34 PM, Preeti wrote:
> > Hi,
> >
> > I have a 250,000 by 300 matrix. I am trying to calculate the median of
> > those columns (by row) with column names that are identical. I would like
&
Hi,
I have a 250,000 by 300 matrix. I am trying to calculate the median of
those columns (by row) with column names that are identical. I would like
this to be efficient since apply(x,1,median) where x is created by choosing
only those columns with same column name and looping on this is taking a
Hello,
thanks a lot! I used which function with trans3d. It worked as well.
Regards,
Preeti
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
-coordinates to plot a text label for select points on this
surface?
Hope it is clearer now.
Regards,
Preeti
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
ion specified. Is there any way to plot only the points I
want? Also can this be done using "trans3d" function. I found no topics
pertaining to this issue.
Regards,
Preeti
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/li
11 matches
Mail list logo