feature_scale.Rd
Scale Expression Values for Features (probsets, transcripts, genes)
feature_scale(mat)
mat | a numeric matrix with the expression values, where columns are the samples and rows are probesets, transcripts, or genes. |
---|
scaled matrix
myexp <- t(sapply( 1:10000, function(i){ sample((0:12000)/1000,100) })) myexp_scaled <- feature_scale(myexp) par(mfrow=c(1,2)) boxplot(t(myexp[1:10,]), main='original') boxplot(t(myexp_scaled[1:10,]), main = 'scaled')