This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Enrichment analysis for class comparison

Hi Guys, sorry if the question might sound stupid but I'm not sure about how to set a statistical test. Basically I have 2000 breast cancer patients that had surgery. Of them, 1000 had additional tumours (not secondary but primary tumours) divided according to the following classes.

ADDITIONAL
Class A      50
Class B      250
Class C      450
Class D      250
  

Total: 1000

The 1000 patients are further divided in pre-post surgery as follows:

PRE
Class A       20
Class B      150
Class C      120
Class D       75



POST
Class A       30
Class B      100
Class C      330
Class D      175
  

Now I would like to compare the dataset PRE with the dataset ADDITIONAL in order to see if there's some enrichment as well as the dataset POST with the dataset ADDITIONAL for the same reason. I already have compared the PRE-POST between them. I suppose I have to perform a Fisher test but I' m a little bit confused on how to write the contingency table. Can anyone help me please?

Thank you in advance

Best regards

B

fisher r

I think you should change your post from Job to Question

Hi,

column PRE + column POST = column ADDITIONAL

So, I am unsure whether it makes sense to compare one PRE or POST column to the margin column.

My two cents.

Hi, if I well understand you are showing only half of the data. You said that you have 2000 patients. So 1000 are in the ADDITIONAL group and 1000 are in another group NO_ADDITIONAL. For the NO_ADDITIONAL you should create again the PRE and POST tables and compare them. Also, it would help if you further detail what kind of enrichment are you looking for. Enrichment in categories of PRE compared to POST or enrichment in categories of PRE in ADDITIONAL compared to PRE in NO_ADDITIONAL?

0 answers

No answers yet.

Log in to answer this question.