![]() |
|
|
#31 |
|
Gast/Guest
Beiträge: n/a
|
Hi Marco. I tried to have a closer look to the code but i didn't do nothing (unfortunately).
|
|
|
|
#32 |
|
Super-Moderator
Registriert seit: 05.08.2008
Beiträge: 1.416
|
Hello
I tried to continue, but it is still not entirely clear which combinations have to be computed. According to the example that you posted here, why is the first computation Code:
Healthy Sick
C/C 3 0
C/C 0 4
Code:
Healthy Sick
C/C 3 4
C/C 3 4
The current attempt: (It fills the "count" tables with some "dummy" data that is similar to the example that you posted, just for testing) Java Code:
|
|
|
|
|
|
#33 |
|
Super-Moderator
Registriert seit: 05.08.2008
Beiträge: 1.416
|
Assuming that the "special case" should actually use the values from the 'count' tables, can you tell me whether the cases handled here are correct:
Java Code:
|
|
|
|
|
|
#34 |
|
Gast/Guest
Beiträge: n/a
|
Hi Marco. You have right and i'm sorry for the mistake. The proper matrix is the second:
Code:
Healthy Sick C/C 3 4 C/C 3 4 |
|
|
|
#35 |
|
Super-Moderator
Registriert seit: 05.08.2008
Beiträge: 1.416
|
OK, the last version collects all matrices (a,b,c,d) that have to be computed, but some of them are not required (e.g. those where the rows are just swapped, or the values are equal).
Assuming that the "twoTailedP" value of ALL of these would have been computed, what would you do with these values? Is it important to sort out the values that are not needed? And by the way: How large are the tables in the real application? At the moment, they are rather small, I'm not sure whether the performance can be increased so much. The most time-consuming things may (!) be reading the files, creating the "count' tables and finding the (a,b,c,d) matrices that have to be computed, and not the computation of the P-values itself. But we'll see... |
|
|
|
|
|
#36 |
|
Gast/Guest
Beiträge: n/a
|
Hi Marco. Calculating the Fisher's test, i get a p-value that is the probability that determines whether or not to accept the initial hypothesis. Then the p-value must be less then alpha (the significance). Alpha is defined as 1-p (p is the p-value).
The greatness is never known in advance but depends on the microarray which is used. One type contains 1931 lines and a variable number of columns: 30 (like the table in my example), 100, 1.000 or even more depending on the experiment. One other type presents 1.000.000 rows and number of columns also this time variable. I hope this explains what you asked and thanks again Marco. |
|
|
|
#37 |
|
Super-Moderator
Registriert seit: 05.08.2008
Beiträge: 1.416
|
Just a short note: I'm rather busy at the moment, and will hardly have the chance to continue with this next week, but try to do so in the first week of May
|
|
|
|
|
|
#38 |
|
Gast/Guest
Beiträge: n/a
|
Ok Marco. No hurry (for now). Thanks.
|
|
|
|
#39 |
|
Super-Moderator
Registriert seit: 05.08.2008
Beiträge: 1.416
|
Hello
Attached you will find a first test of a strighforward JCuda implementation. Let me know whether this goes into the right direction. bye |
|
|
|
|
|
#40 |
|
Gast/Guest
Beiträge: n/a
|
Hi Marco. I finally try this first test (after many problems) and seems ok but seems that java and CUDA spends the same time for the execution:
Code:
For 13 13 13 13 : Java : 1,000000 CUDA : 1,000000 For 13 0 13 1 : Java : 0,999997 CUDA : 0,999997 For 1 13 0 13 : Java : 0,999997 CUDA : 0,999997 For 1 0 0 1 : Java : 1,000000 CUDA : 1,000000 For 14 14 14 14 : Java : 1,000002 CUDA : 1,000002 For 2 2 2 2 : Java : 1,000000 CUDA : 1,000000 Is not possible to add the Probe Set ID after each for like this: For AM_10001 13 13 13 13 : Java : 1,000000 CUDA : 1,000000 For AM_10001 13 0 13 1 : Java : 0,999997 CUDA : 0,999997 ... Thanks. |
|
|
| Lesezeichen |
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
| Themen-Optionen | Thema durchsuchen |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Help~ Any example about HashMap (counting the frequency of key) | lemoncmf | JCuda | 3 | 30.04.2010 04:33 |
| Excel/OpenOffice-Tabelle in Swing nachbauen | L-ectron-X | Java Standard Edition (J2SE) | 17 | 07.08.2009 22:10 |
| Excel und PowerPoint vollenden - AddIns für | L-ectron-X | Byte-Welt Fundgrube | 0 | 19.04.2008 17:49 |
| Excel: Bedingte Formatierung für Fortgeschrittene | Snape | Software | 2 | 19.12.2007 15:27 |
| [Erledigt] Excel | swerflash | Java Standard Edition (J2SE) | 4 | 23.01.2007 13:09 |