Entering edit mode
4.4 years ago
SupBioInformatics
▴
70
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.
Thanks for the answer.