Comments (4)
Hi @uberholzer
I think this is not an error, but just a warning. Can you check this?
But to use the RNA slot, you can change the parameter assay_oi
of the get_expressed_genes()
function to assay_oi = RNA
(it might be that you need to reinstall nichenetr to enable this though). This will use the RNA slot to define expressed genes instead of the integrated slot. The set default assay of the Seurat object does not matter here.
from nichenetr.
@browaeysrobin I am still getting the error even after re-installing nichnetr.
Here is the block of code I am running:
CTOI <- "pDC"
receiver = c("pDC")
Idents(object=seuratObj) <- "celltype_fine"
DefaultAssay(seuratObj) <- "RNA"
expressed_genes_receiver = get_expressed_genes(receiver, seuratObj, pct = 0.10,assay_oi = "RNA")
background_expressed_genes = expressed_genes_receiver %>% .[. %in% rownames(ligand_target_matrix)]
sender_celltypes = c("AM", "Mixed T", "Club cell", "Proliferating T", "Ciliated cell",
"Neutrophil", "mDC", "NK", "Proliferating Plasma Cell", "Plasma cell", "Mature B", "pDC", "Mast cell")
list_expressed_genes_sender = sender_celltypes %>% unique() %>% lapply(get_expressed_genes, seuratObj, 0.10)
expressed_genes_sender = list_expressed_genes_sender %>% unlist() %>% unique()
Should I assume the function is working properly on the RNA assay?
from nichenetr.
Hi @uberholzer
Do you get output for expressed_genes_receiver
? If yes then get_expressed_genes()
just gives a warning and not an error.
I think it will just be a warning and everything is working properly on the RNA assay.
from nichenetr.
Yes, I am getting an output and the data is interpretable. Thanks!
from nichenetr.
Related Issues (20)
- Is Peaks a viable default assay of interest>
- About question in "Perform NicheNet analysis with prioritization" vignette HOT 1
- `get_expressed_genes` function for sparse matrix
- get_exprs_avg produced error message HOT 1
- Trouble with get_prioritization_tables HOT 1
- I got trouble when running nichenet_seuratobj_aggregate() HOT 1
- ask questions about model constructing HOT 2
- NicheNet-v2 data source collection and processing (OmniPath)? HOT 2
- generate_prioritization_tables() generates an empty result. HOT 1
- how to use nichenet in cell development data HOT 4
- there is a warning in this shetp-"score ligand-receptor interactions based on expression strength of the receptor"
- Error on get_prioritization_tables() HOT 1
- Error while running get_expressed_genes HOT 5
- So much targets in nichenet_output$ligand_activity_target_heatmap after running nichenet_seuratobj_aggregate HOT 1
- Modeling Inquiry HOT 2
- Error in "evaluate_target_prediction(setting, ligand_target_matrix, ligands_position) : all genes have same response"
- Is there a helper function to draw the plot in the description ? HOT 1
- Inquiry about Signaling and Gene Regulatory Networks Data in Omnipath and NicheNet HOT 1
- Query: AUPR HOT 1
- Error while plotting a ligand-receptor interaction network
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nichenetr.