I have bulk data from 4 samples of triple negative breast cancer, which 2 of them are control and the other 2 are treated. The goal here is to estimate the average macrophages signatures, for M0,M1 and M2 in each of the 4 samples.
My bulk data:
Gene MCtrl1_TPM MCtrl2_TPM MTreat1_TPM MTreat2_TPM
KHDC1L 0.0 75.15 0.0 0.0
CD24 1.53 41.56 0.11 0.06
MAMLD1 5.2 11.94 0.0 0.0
SMIM31 4.1 10.24 0.0 0.06
C16orf95 7.9 13.24 0.0 0.08
OCLN 2.69 7.06 0.06 0.03
RBM14-RBM4 16.97 1.95 0.0 0.0
RPS10-NUDT3 0.0 0.0 31.91 12.06
NDUFC2-KCTD14 15.06 49.98 0.41 0.0
ATP9A 2.7 10.05 0.01 0.0
UST 0.38 10.63 0.0 0.01
LOC100996709 12.25 30.58 0.0 0.0
ADAM8 10.13 2.14 0.03 0.0
ADGRG2 0.05 21.49 0.0 0.0
MBNL2 4.61 5.04 0.0 0.0
PIGBOS1 56.73 51.33 0.6 0.09
To do that, I thought was to use the CIBERSORTx software more specifically, the option - Impute Gene Expression, High-Resolution Mode (tutorial 5) with my bulk data and signature matrix file, the LM22 signature matrix file of 22 immune cells provided by CIBERSORTx, but with the selected columns correspondent to the 3 types of macrophages.
Signature matrix file:
Gene M0 M1 M2
ABCB4 7.951360487 27.55771004 121.4322774
ABCB9 56.25188749 29.38087813 40.39026017
ACAP1 48.97221651 30.97425375 23.05515036
ACHE 13.6929629 1373.06962 48.58576071
ACP5 13644.1723 1062.475909 7633.960182
ADAM28 54.96648703 274.639997 360.6820442
ADAMDEC1 4464.262133 8524.022801 5004.969419
ADAMTS3 45.56049098 32.34016681 33.35142773
ADRB2 143.0178779 787.6239741 363.1850058
AIF1 1841.269508 1611.228571 11610.29035
AIM2 181.9571 2965.888162 148.2845223
ALOX15 6.621226619 5.412216318 430.3353048
ALOX5 788.5397751 83.30089783 248.3724724
AMPD1 76.54456664 62.39764428 59.95269372
ANGPT4 39.33257003 21.218127 11.8097012
ANKRD55 123.600429 96.20392388 48.55417359
APOBEC3A 85.2400852 4501.140479 148.7993403
APOBEC3G 278.7681406 1036.993881 258.3004281
APOL3 238.5980956 11009.29392 437.5272083
APOL6 13.10943681 967.6451456 7.784612131
AQP9 4583.500675 4309.341662 399.4746192
ARHGAP22 175.4574354 351.5922058 272.9890572
ARRB1 333.3962724 946.0138184 395.5562302
ASGR1 108.7218916 25.23626149 155.4913385
ASGR2 36.11978652 26.3738691 760.7257707
ATHL1 52.25820981 167.5032595 132.631945
But I encountered this error, trying to do that:
## Formatted for easier reading
Error in runCIBERSORTxGEP(weights, mixture, classes, QN, maxsamples, label, :
Abort! The number of mixture samples is not greater than the number of cell types.
Calls: CIBERSORTxHiRes -> CIBERSORTxGEP -> runCIBERSORTxGEP Execution halted
How this error is possible, when I have 3 types of macrophages and 4 samples? There's another way to estimate the average of the 3 types of macrophages signatures? Specifically in a graphic like this?If yes, how?