Coder Social home page Coder Social logo

Install error about nichenetr HOT 3 CLOSED

saeyslab avatar saeyslab commented on June 6, 2024
Install error

from nichenetr.

Comments (3)

browaeysrobin avatar browaeysrobin commented on June 6, 2024

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.

rsggsr avatar rsggsr commented on June 6, 2024

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*(2
x - 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.

browaeysrobin avatar browaeysrobin commented on June 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.