Comments (3)
Hi @rsggsr
This is probably a nichenetr-unrelated problem you have on your pc. Can you try to install other packages (from github) and check whether that works. If it would seem to be a nichenetr-specific problem for you, could you give some more details about the what went wrong in the installation. For now I have not enough information to know where the problem might be for you.
About the removal of the reshape2 package, you should identify the correct path to that directory (now R searches for the default path, but your reshape2 package is not located there), and give it as input to the remove.packages function.
from nichenetr.
Hi @browaeysrobin ,
Sorry that's my bad. I get it done afterwards.
But I got another question for you. I am playing with my processed Seurat object and mostly following the vignette for Seurat (Perform NicheNet analysis starting from a Seurat object: step-by-step analysis:vignette("seurat_steps", package="nichenetr")). But when I want to plot a circos plot using that tutorial I found it's not that easy to follow since it's a follow-up tutorial for the vignette (NicheNet’s ligand activity analysis on a gene set of interest: predict active ligands and their target genes:).
From the first beginning that how we specify cell types is different. So I totally got lost when we need to specify the overlapping ligands between two sender cells (I set two sender cells and one receiver cells) by the following codes.
ligand_expression_tbl = tibble(
ligand = best_upstream_ligands,
CAF = expression[CAF_ids,best_upstream_ligands] %>% apply(2,function(x){10*(2x - 1)}) %>% apply(2,function(x){log2(mean(x) + 1)}),
endothelial = expression[endothelial_ids,best_upstream_ligands] %>% apply(2,function(x){10*(2x - 1)}) %>% apply(2,function(x){log2(mean(x) + 1)}))
Could you kindly explain more how to do it by 10X sequencing data such as Seurat? Thanks so much!
from nichenetr.
Hi @rsggsr
I redirect you to this open issue: #5.
The take home message is that you should make an expression table for your ligands with the average expression of each ligand in each cell type. This can be done in several ways and I give one suggestion in that issue.
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.