-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pearson correlation Negative #25
Comments
Pearson correlation values around 0 indicate that for the ligands expressed in the sender cells (Ecell in your case), no enrichment of target genes in the geneset of interest is found compared to the background. This means that NicheNet does not find evidence dat the sender cell is regulating gene expression changes in the receiver cell. For the error when trying to create the ligand-target heatmap: kan you check how vis_ligand_target looks like? |
Hi,
For vis_ligand_target, I get this as output: Then, for : I get: Error in factor(x, levels = colnames(matrix), ordered = TRUE) : So, could it be that my defined conditions that is, male Vs female is what's causing the problem or that it has nothing to do with this condition, its just that my Ecell is not sending any ligand to receiver cells and thus its negative? Also, another question I had is, Is it possible to actually perform NicheNet analysis without actually specifying any conditions (like male Vs female) and just observe if there's any interaction between two cell types (since we are not really interested to see if the interaction changes after a condition but just in the typical ligand-receptor interaction between these cells in homeostatic condition). Thank you again |
If you use male-vs-female as conditions, then you assume that cell-cell interactions cause the differences between the male and the female condition in the receiver cell. Dependent on your research question, this might be the case or not, and if not, this might be causing the problem. If you use Ecell as sender cell, you get AUROC values under 0.50 and negative PCCs. This indicate that there are more targets of the Ecell ligands in the background of expressed genes compared to DE genes between male and female. This can be due to issues in defining the background of expressed genes or the DE genes (for this: check the number of expressed genes in the receiver cell type, the number of DE genes etc.), but it can also be due to the possible false assumption that ligands from Ecell cause (at least partially) the differences between the male and the female condition in the receiver cell. This does not necessarily mean however that Ecell is not sending any ligand to receiver cells, though.
NicheNet is a tool that let you study how ligands affect gene expression in putatively neighboring/interacting cells, and prioritize the most important ligands based on their effect. But to do this you need to have data about this effect in gene expression you want to study. So, there need to be 'some kind of' differential expression in a receiver cell population, caused by ligands from one of more interacting sender cell populations. If you would just be interested in the ligand-receptor interactions in homeostatic conditions (and you only have homeostatic condition data), you can always just infer ligand-receptor interactions based on their expression level. This is the end goal in some other tools like CellphoneDB, or an intermediary step in the NicheNet pipeline: (cf step 3 in the vignette you mention). However, prioritizing expressed ligand-receptor interactions based on observed target genes via NicheNet will be harder because you don’t have a clear set of genes affected by the intercellular communication process only. You could still do it, by using the total set of genes in the genome as the background, and all genes expressed in your cell type as gene set of interest. But I don’t really recommend that because not all expressed genes will be influenced by cell-cell interactions, on the contrary most genes will probably be expressed because they are part of general and cell-type specific gene expression programs. And if you can't discriminate between cell-intrinsic and cell-extrinsic effects in your data, and you will still use NicheNet, then you risk that ligands will be falsely linked to some 'cell-intrinsic' genes. And this will confound the analysis and lead to irrelevant and noisy predictions. |
Hi,
I am using NicheNet on some brain dataset and when I use a certain celltype as receiver (ependymal cell), and any other cell type (Neural stem cell, neuroblast) as sender it seems to run everything smoothly.
But if I try to perfrom NicheNet with Ecell as sender and any other cell type as receiver, I get negative value in pearson coorelation.
Further, The following code snipet :
p_ligand_target_network = vis_ligand_target %>% make_heatmap_ggplot("Prioritized ligands","Predicted target genes", color = "purple",legend_position = "top", x_axis_position = "top",legend_title = "Regulatory potential") + theme(axis.text.x = element_text(face = "italic")) + scale_fill_gradient2(low = "whitesmoke", high = "purple", breaks = c(0,0.006,0.012))
from the following vigentte: https://github.com/saeyslab/nichenetr/blob/master/vignettes/seurat_steps.md
stops working giving me this error:
Error in factor(x, levels = colnames(matrix), ordered = TRUE) :
object 'x' not found
Is it because there's no interaction between Ecell and other cell types with Ecell contributing Ligands and other celltypes being receptor?
Thank you
The text was updated successfully, but these errors were encountered: