CHI SQUARE TEST IN R for SPNs bacterial data
0
0
Entering edit mode
10.3 years ago

Hi all,

Could somone show me How I perform a chi square test in R on 40,00 SNPs data?

Thanks

SNP • 2.8k views
ADD COMMENT
0
Entering edit mode
help(apply)
help(chisq.test)

Aside from that, we'd need to know more details (e.g., what's your data look like) to give you any further help.

ADD REPLY
0
Entering edit mode

Hi there

One data contains 50000 SNPS with positions and other set of data with outcomes of drug resistance ( resistant or sensitive) . I want to do basic chi square test for each of these SNPS in R.

Thanks

ADD REPLY
1
Entering edit mode

So you want to evaluate for the association of each SNP with drug resistance or sensitivity? What is your null hypothesis? That a given SNP is not associated with resistance? I think you need to be still more detailed. Is your question about chi-squared and how to frame your hypothesis, organize your data, or is your question about the R syntax? What have you tried?

ADD REPLY

Login before adding your answer.

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