[R] how to compare two distributions and calculate p value?

Ana Marija @okov|c@@n@m@r|j@ @end|ng |rom gm@||@com
Wed Oct 23 03:17:45 CEST 2019


I would like to calculate a p value from two distributions, one looks like this:
> head(b)
             gene_id number_of_eqtles_per_gene
1: ENSG00000237683.5                         5
2: ENSG00000225972.1                       267
3: ENSG00000225630.1                        97
4: ENSG00000237973.1                       257
5: ENSG00000240409.1                        19
6: ENSG00000248527.1                        41
> dim(b)
[1] 31385     2
and the other  one (call it "a") looks very similar to "b" only has 103 entries.

How would I do say t test considering these two have different number
of entries?


More information about the R-help mailing list