Displaying 3 results from an estimated 3 matches for "normailzation".
2005 Jul 09
1
Quantile normalization and NA
Hi,
I am new to R,
I am doing quantile normalization with a dat matix of
384X124 and I find that while computing the quantile
normailzation it introduces 'NA' into some of the
cells, can someone help me to overcome this problem ?
This is the command that goes like upto g62 for 124
colomns
>g1 <- normalize.quantiles(exprs(MSExpr[,1:2]))
For a small set of data there is no problem, but for a
large set of data, it introd...
2009 Jul 31
1
scale subsets of grouped data in data frame
Hello,
I'm trying to duplicate what's an easy process in RapidMiner.
In RM, we can simply use two operators:
subgroup iteration
attribute value selection (Can use a regex for the attrribute name.)
I can do this in R with a lot of code and manual steps. It would be
really nice to find a more automated way.
My data looks like this
group group_height group_weight height
2009 Aug 03
2
Scale set of 0 values returns NAN??
...r look at my data and how my experiments are
constructed. (That's a very "Good Thing")
So, on to the question...
I'm scaling data based on groups. I have it working well in a nice
loop. (This WORKS, but if someone has a faster/cleaner way, I'd be
curious.)
#group-wide normailzation
groups <- unique(rawdata$group)
group_names = grep('norm_',names(rawdata))
for(group in groups){
for(name in group_names){
rawdata[rawdata$code==group, name] <-
c(scale(rawdata[rawdata$code==group, name]))
}
}
My problem is that if the particular list of data I...