This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Finding standard deviation from dataframe

enter image description here

Hi,

I'm studying about DNA methylation.

I ran minfi to get a beta value file, but the file size is too large.

So i have to filtering this file as standard deviation >0.05 by cgIDs.

How do I get standard deviation value??

standard dnamethylation deviation

I am not convinced about filtering CpGs by standard deviation because "the file is too large" but if you want to do that using R, you can use apply(dataframe,1,sd) to obtain sd for each CpG

Thank you so much...

Do you know how to get the standard deviation of rows all at once and add them to the dataframe?

Supposing df is your dataframe of beta values : df$sd = apply(df,1,sd)

0 answers

No answers yet.

Log in to answer this question.