Question: Statistics Of Enrichment Of Indels
0
gravatar for PoGibas
7.6 years ago by
PoGibas4.8k
Vilnius
PoGibas4.8k wrote:

Usually I use Fisher or Wilcoxon rank sum, but this time data is different and I don't know what should I use.

Data: Four DNA sequences -> different amount of mutations

I want to prove that sequenceA is enriched of mutations compared to sequenceB (their length is equal)

Also I do have sequenceC (prolonged sequenceA) & sequenceD (prolonged sequenceB).

How one should do it?

My data looks kinda like that (positions of indels):

254, 1000, 1036, 5448, 7315 -> sum = 6 mut;

63, 75, 967, 3691 -> sum = 4 mut;

Really looking forward to your answers. Thanks in advance.

It's for quick glance at p value so I don't need anything fancy. Hope someone will help.

statistics • 1.4k views
ADD COMMENTlink written 7.6 years ago by PoGibas4.8k
1

Why doesn't Fisher's exact test work for you? I think it is a reasonable approach.

ADD REPLYlink written 7.6 years ago by Michael Dondrup46k
3
gravatar for Michael Dondrup
7.6 years ago by
Bergen, Norway
Michael Dondrup46k wrote:

I think if the number of indels is small compared to the gene length, then Fisher's exact test should just be an ok approximation. Count the number of positions where an indel occurred vs. the number of positions without a mutation, yielding a contigency table like this example (given gene length =10000 for both):

cont.table= matrix(c(6,4,10000-6,10000-4), ncol=2, byrow=T)
cont.table
     [,1] [,2]
[1,]    6    4
[2,] 9994 9996

Then apply fisher.test to test for the alternative hypothesis that column 1 is enriched with respect to 2:

fisher.test(cont.table, alternative="greater")

    Fisher's Exact Test for Count Data

data:  cont.table 
p-value = 0.3769
alternative hypothesis: true odds ratio is greater than 1 
95 percent confidence interval:
 0.4357716       Inf 
sample estimates:
odds ratio 
  1.500262
ADD COMMENTlink modified 7.6 years ago • written 7.6 years ago by Michael Dondrup46k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1198 users visited in the last hour