Giter Site home page Giter Site logo

Comments (4)

TakaYamaguchi avatar TakaYamaguchi commented on August 29, 2024

Just letting you know that setting min-rho = 0, max-rho = 0.9 didn't help..

from battenberg.

TakaYamaguchi avatar TakaYamaguchi commented on August 29, 2024

Hi,
The program worked fine when the Sunrise plot was commented out in clonal_ascat.R
Line1432 - ASCAT::ascat.plotSunrise

from battenberg.

lydiayliu avatar lydiayliu commented on August 29, 2024

T_T im running into the same issue. Also setting min_ploidy and max_ploidy to force WGD breaks the sunrise plotting.

axis(1, at = seq(0, 1, by = 1/(ploidy_max-1)), labels = seq(ploidy_min, ploidy_max, by = 1))

For example ploidy_max = 4.8 and ploidy_min = 2.9 will result in "by" having length of 4 and "labels" having length of 2...

from battenberg.

lydiayliu avatar lydiayliu commented on August 29, 2024

For my own record, to update the Battenberg:::runASCAT() function in the docker without having to rebuild the package and the docker, I did

Create a /mnt/scripts/runASCAT_hack.R, with
runASCAT.battenberg.nosunrise <- function(...) { ... #ASCAT::ascat.plotSunrise ...}

When running Battenberg

library(Battenberg)
source('/mnt/scripts/runASCAT_hack.R')
environment(runASCAT.battenberg.nosunrise) <- asNamespace('Battenberg')
assignInNamespace("runASCAT", runASCAT.battenberg.nosunrise, ns = 'Battenberg', envir=as.environment('package:Battenberg'))

from battenberg.

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.