Giter VIP home page Giter VIP logo

Comments (8)

lpantano avatar lpantano commented on June 12, 2024

Hi @wangmhan ,

Can you post the exact error you get? If you try the example in the man page, does it work?

If you paste here all the output when you run it, I may able to see what is happening.

Thanks!

from degreport.

wangmhan avatar wangmhan commented on June 12, 2024

Hi,

I tried the example, it also cannot work with consensusCluster = TRUE.

The code is like this:
library("DEGreport")

data(humanGender)
library(SummarizedExperiment)
library(ggplot2)
ma <- assays(humanGender)[[1]][1:100,]
des <- colData(humanGender)
des[["other"]] <- sample(c("a", "b"), 85, replace = TRUE)
res <- degPatterns(ma, des, time="group", col = "other",consensusCluster = TRUE)

And the error report is:
Working with 100 genes.
end fraction
Error in frame() : figure margins too large

Did I misunderstand end fraction as error? But it cannot get the plot of cluster as usual.

from degreport.

lpantano avatar lpantano commented on June 12, 2024

I see, are you using R studio, this happens in general when the Panel for figures is too small. Can you try to increase the size of that panel? It is working for me.

If you are not using R studio, let me know.

Cheers

from degreport.

wangmhan avatar wangmhan commented on June 12, 2024

from degreport.

FengWalker avatar FengWalker commented on June 12, 2024

Hi,
I tried the example,
The code is like this:

library("DEGreport")
data(humanGender)
library(SummarizedExperiment)
library(ggplot2)
ma <- assays(humanGender)[[1]][1:100,]
des <- colData(humanGender)
des[["other"]] <- sample(c("a", "b"), 85, replace = TRUE)
res <- degPatterns(ma, des, time="group", col = "other",consensusCluster = TRUE)

And the error report is:
Working with 100 genes.
Working with 63 genes after filtering: minc > 15
Joining, by = "merge"
error: Problem with summarise() input n_genes.
x could not find function "n"
i Input n_genes is n().
i The error occurred in group 1: merge = "aFemale", cluster = 1, group = "Female", other = "a".
Run rlang::last_error() to see where the error occurred.

and I ran rlang::last_error() with this result

rlang::last_error()
<error/dplyr_error>
Problem with summarise() input n_genes.
x could not find function "n"
i Input n_genes is n().
i The error occurred in group 1: merge = "aFemale", cluster = 1, group = "Female", other = "a".
Backtrace:

  1. DEGreport::degPatterns(...)
  2. base::.handleSimpleError(...)
  3. dplyr:::h(simpleError(msg, call))
    Run rlang::last_trace() to see the full context.

from degreport.

lpantano avatar lpantano commented on June 12, 2024

Hi, Thanks for reporting this.
Can you tell me the version of the package and R/Bioconductor you are using?

from degreport.

FengWalker avatar FengWalker commented on June 12, 2024

Thanks for your reply.
I run example in Rstudio Version 1.2.5033 and R version 4.0.3.
My DEGreport is version 1.25.3 and installed by remotes .

remotes::install_github("lpantano/DEGreport")

All packages were updated during the installation.

from degreport.

lpantano avatar lpantano commented on June 12, 2024

Hi,

I was able to reproduce when installing from github, I am trying to fix this.

Can you trying installation directly from Bioconductor:

BiocManager::install("DEGreport")

Thanks!

from degreport.

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.