diffcyt icon indicating copy to clipboard operation
diffcyt copied to clipboard

Diffcyt for two different columns

Open shanh1 opened this issue 2 years ago • 1 comments

Hi there,

I am trying to do an analysis for two different columns of data.

Column 1 is Reticulocyte count at T0 and column 2 is Reticulocyte count at T1.

I want to compare patients with "Normal" in T0 to patients with "High" in T1, where the factors for both columns are "Normal", "Low", "High" and "N/A".

In the past, I have just filtered SCE objects to give me patients with desired factors (e.g. "Normal" and "High") and used contrast 0,1 to compare baseline with condition. But I am now interested in comparing across multiple columns.

How can I set up an analysis for this? Is this possible?

Thank you!

shanh1 avatar Jun 19 '23 10:06 shanh1

HI @shanh1,

Another option is to form a single column from your two columns and use that to identify the experimental conditions, and then form a contrast for the difference of interest.

Cheers, Mark

markrobinsonuzh avatar Jun 25 '23 07:06 markrobinsonuzh