Should I do normalization to gene/features or samples?
1
0
Entering edit mode
4.3 years ago

Hi,

I am learning pre-processing metabolomic LC/MS data. For example, I have a data, df, and it has features in rows, and samples in columns. If I want to do z-score normalization, should I do to each sample group or feature?

I am thinking on each features, but I am not sure. For the code in R, I use scale(),

apply(df, 1, function(x) scale(x, center = TRUE, scale= TRUE))

Should I do similar to RNAseq data as well, either to gene or sample?

Thank you.

normalization preprocessing RNA-Seq metabolomics • 1.3k views
ADD COMMENT
1
Entering edit mode
4.3 years ago
khorms ▴ 230

Normalize columns (samples), not rows (features), because what you are aiming to find is the features with large changes between the sample groups, and you will kill the magnitude of changes if you normalize by features

ADD COMMENT
0
Entering edit mode

Thanks for the answer.

ADD REPLY

Login before adding your answer.

Traffic: 2001 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6