How to compare variability or calculate p-value in R within same group?
0
0
Entering edit mode
8 weeks ago
Ankit ▴ 320

Hi everyone,

I have a matrix as in example and I want to calculate the variability across the rows.

enter image description here

Please suggest me which test to use and which function in r can do this?

If there is code anyone can share will be much more helpful.

I appreciate the help.

Thank you Ankit

statistics test variability r • 430 views
ADD COMMENT
0
Entering edit mode

What kind of data are this?

ADD REPLY
0
Entering edit mode

Methylation arrays-betavalues

cgs are basically single cpg sites

ADD REPLY
0
Entering edit mode

Thanks

A function in Limma link (varFit) is calculating variability between two groups. But I am looking for the most variable CpG sites across samples. Simply, if the methylation value of CpG (lets say cg1) vary among sample1 to 7 then it is the variable CpG and I need statistical way to do include/exclude it. I do not have any group. These all samples are controls.

Any other approach?

ADD REPLY
0
Entering edit mode

I noticed the post about rowVar. The issue is how to select the threshold of variance to classify my most variable regions.

ADD REPLY

Login before adding your answer.

Traffic: 1379 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