Closed merlevede closed 5 years ago
Hi Jane, sorry for not replying. Did you figure this out?
Hello Ricard,
More or less. Could you please tell confirm the following: The values plotted in plotDataHeatmap() for layer i are : Wi * Z. Is it correct?
No, the values plotted are not the predictions (Wi*Z) but the observations (Yi).
In MOFA v2 we included the option to plot the predictions: plot_data_heatmap(denoise=T)
P.S. If you have missing values in Y, and do plotDataHeatmap(imputed=TRUE)
then the NAs will be indeed filled with the predictions
Ok, I see. Thank you
Hello,
I am not sure I understood properly what shows the plotDataHeatmap(). In the documentation, we find:
Let us assume I have 2 layers, gene expression and methylation both at gene level. Moreover, from the plotVarianceExplained(), I see that the factor 1 is represented by both layers. When looking at the heatmap obtained from plotDataHeatmap(MOFAobject, view = "mRNA", factor=1), I see features that are enriched in factor 1 in each patient. Are the genes that are enriched the result of the integration of both layers or only genes enriched in gene expression? In particular, if instead of methylation at gene level I have it at CpG level, it would be impossible to show CpGs in the gene expression view.
To summarize, I have 2 questions:
Thank you, Jane