Displaying 3 results from an estimated 3 matches for "normailz".
Did you mean:
normail
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 i...
2009 Jul 31
1
scale subsets of grouped data in data frame
...by each group
So in pseudo-code
for(group in groups){
if(column_name = regex(group_.*)){
data[column_name] = scale(data[group,column_name])
}
}
This way I get "group wise" normalization of my data, but still have the
original values which I will normailze "database wide" for some comparisons.
Can anybody help solve this one?
-N
[[alternative HTML version deleted]]
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 dat...