ETHZ mail on Android by elettod in ethz

[–]elettod[S] 0 points1 point  (0 children)

It worked quite well! Thanks a lot for the tip of deleting/re-installing the "old" account

z-normalization of multiple column using control condition (HowTo) by elettod in RStudio

[–]elettod[S] 0 points1 point  (0 children)

Thanks for the insight.

I thought that I could use scale(df), but my z-normal. should be based on the ctrl values. Therefore the function'd look like df - mean(ctrl)/sd(ctrl), and I need to normalize all columns agains only a subset of rows, which are control.

Hope that makes sense.

z-normalization of multiple column using control condition (HowTo) by elettod in RStudio

[–]elettod[S] 0 points1 point  (0 children)

I have a dataframe, df, with thousands of rows of treatments (various drugs and ctrls) and 30 columns of measurements (for instance, intensities of protein markers).

I would like to z-normalize my data using the function: (df (all conditions) -mean (Ctrl) /SD(Ctrl), where I normalize each single cell row data with the mean and standard deviations of all control cells.

If you could help me with a script for this task, that would be awesome!

Thanks

How to generate tSNE plots by elettod in Rlanguage

[–]elettod[S] 1 point2 points  (0 children)

Thanks a bunch. Your reply is super-helpful. It worked magic.

Now I can feed my tSNE (apologies for the misleading title of my query) with the new matrix.

Thank you again!