Entering edit mode
                    21 months ago
        dzisis1986
        
    
        ▴
    
    70
    I have a count matrix like that :
Genes   1_conA  2_conA  3_conA  4_conB  5_conB  6_conB
SNCA    2754.51468026414    2330.52372350378    2098.4507693163 493.840280542602    519.951931272473    739.283699887331
ACAP3   6674.36606862323    5409.85793263052    4323.59396601816    2835.88756309508    3140.25429738641    3896.43656225971
ADAM11  699.592200296909    461.280799487677    494.726262249319    183.26821707438 192.823381215176    307.040197251065
ANO8    2616.29181950827    2303.33914627923    1963.0501501436 1256.38797123759    1322.61352696467    1727.46307913068
ARHGAP33    4745.22335002185    3240.42700839725    2587.43328935726    1259.44145060271    1387.25369716501    1750.81995136913
ARHGEF25    2514.71835790986    1732.19279036597    1749.15256711928    954.396853986755    1101.64564134203    1273.47148785137
ATE1    681.226078895356    689.637999819787    557.304649328032    1337.15024965092    1390.46381978227    1039.91237064104
BLOC1S5 253.527233897061    234.056980445019    191.04859397678 490.761612501422    407.221389190741    514.030987914712
C8orf82 1087.38670986473    914.926707564202    937.432348227618    682.65905217546 653.544038903608    696.834295089135
CABLES2 779.731441395388    858.397991894595    986.471631919686    364.142546296198    369.280971509118    509.072980419863
CACNG8  712.444925820586    727.489752432312    969.411665067064    402.421625005241    378.143770666438    437.624092121583
CAMK2B  1606.34018505634    1563.46349434595    1293.10585539382    769.233241222907    1058.47936327409    786.98152040651
CAMKV   1571.66050327696    1399.56665570775    1181.14616689206    951.763777049311    816.53641659271 843.734731015618
CARMIL3 1973.93192405357    1544.7386129963 1345.01170227751    767.675003825552    771.270966376434    1113.39852140762
I want to perform a correlation analysis to see the levels (increases or decreases ) of SNCA gene with the DE genes. I would like to say if is more or less in 2 different conditions. How a correlation matrix be calculated in R for 3 samples in each condition?
I want to be able to measure the values of SNCA and how they are formed so that we can measure the expression in each experiment.
It sounds like you want an ANOVA, which can be invoked with the
aov()function. You may need to melt your dataset using themelt()function. It's hard to tell as you don't explain your column names or what the conditions are.No anova is not what i need. i need to see how the SNCA is correlated to to other genes across conA and conB. The correlation is done with spearman core test but still I don't see the separation between the two conditions
How can I go further with this in order to see also the iPSC_1_conA iPSC_2_conA iPSC_3_conA etc in the result matrix ?? I that way I will be able to see that SNCA has higher correlation and raises in iPSC_2_conA and not in iPSC_5_conB ?