Coder Social home page Coder Social logo

Comments (8)

PoisonAlien avatar PoisonAlien commented on July 17, 2024

Hi,

Can you send me a sample file so that I can see whats going on. You can change barcodes and other details.

from maftools.

shirleydaidai avatar shirleydaidai commented on July 17, 2024

I found the error might be due to no mutations in one of the compared MAF.

print(pt.vs.rt)
$results
Hugo_Symbol male female pval or ci.up ci.low
1: USH2A 11 0 0.000771904 Inf 2.4659925 Inf
2: ASXL3 9 0 0.003384388 Inf 1.8599523 Inf
3: ARID1A 8 0 0.007011792 Inf 1.5771181 Inf
4: DCHS1 8 0 0.007011792 Inf 1.5771181 Inf
5: FMN2 8 0 0.007011792 Inf 1.5771181 Inf


from maftools.

shirleydaidai avatar shirleydaidai commented on July 17, 2024

Well. I finally got the answer. There must be at least 2 mutations in one of the compared MAF to plot coOncoplot

from maftools.

PoisonAlien avatar PoisonAlien commented on July 17, 2024

Hi,
Its not supposed to be the case. It should still draw the plot even when mutations are missing in one of the sample (take a look at the example in vignette, RARA has no mutation). i think this an issue with factor to character conversion.

Sorry I have a test tomorrow and won't be able to fix it soon. I will work on this over the weekend. Meanwhile can you write those two maf (male and female) to output files (write.mafSummary function) and then read them separately and try to plot and see if it works?

from maftools.

shirleydaidai avatar shirleydaidai commented on July 17, 2024

I have outputted 2 files and re-readed in. But this error exists:

Error in strsplit(x = variant.classes, split = ";", fixed = TRUE) : 
  non-character argument

from maftools.

PoisonAlien avatar PoisonAlien commented on July 17, 2024

Hi,
Can you share your samples files ?

from maftools.

PoisonAlien avatar PoisonAlien commented on July 17, 2024

Hi,

I see the issue here, female have no mutations for these genes at all ! So no way to plot them, maybe you include a gene which is mutated in at least one sample among female ? Anyways I have made a temporary fix. You can pull it from github. Target devel brach.

devtools::install_github(repo = "PoisonAlien/maftools", ref = 'devel')

P.S: I have deleted your shared link, very interesting data.

from maftools.

shirleydaidai avatar shirleydaidai commented on July 17, 2024

Thank you!

from maftools.

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.