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)
- Identifying bonafide ligand-receptor pairs in the updated ligand-receptor database (V2)
- SeuratV5 HOT 4
- Error finding log fold change information of ligands from sender cells (Seurat V5 object) HOT 6
- How exactly the ligand activity were calculate? HOT 1
- I cannot run the "get_weighted_ligand_receptor_links" and "prepare_ligand_receptor_visualization" while I have nichnetr installed HOT 2
- Preferable metric to infer cell-to-cell communication HOT 1
- what is ligand_tf_matrix for?? HOT 1
- `get_exprs_avg` changes underscore to hyphen in cell type names
- How to choose the best ligand to continue analysis with the potential ligand?
- How should I assign a pathway/pathways to the target genes when running nichenetr? HOT 3
- cannot complete assign_ligands_to_celltype HOT 2
- missing function for circos plot visualization HOT 2
- I can't install nichenet HOT 1
- Condition_colname is not used for subsetting in nichenet_seuratobj_aggregate HOT 2
- `make_line_plot` bugs
- `assign_ligands_to_celltype` bug when there are no general ligands
- Error in `generate_info_tables`
- Warning message in `predict_ligand_activities`
- `generate_prioritization_tables` warnings and documentation
- Error when passing the recorrect_umi argument in get_lfc_celltype
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.