Coder Social home page Coder Social logo

Comments (3)

PoisonAlien avatar PoisonAlien commented on July 17, 2024

Hi,
For now there is no option to sort by annotation. Is there any reason to do that ? I think it would destroy original sorting by mutations.

from maftools.

shirleydaidai avatar shirleydaidai commented on July 17, 2024

I just want to see different mutation signitures with different annotation subtype.

from maftools.

PoisonAlien avatar PoisonAlien commented on July 17, 2024

Hmm.. For now its not possible. Maybe you can subset your MAF according to annotations with subsetMaf function and draw individual plots.

For e.g, If I wanted to draw only for M2 samples,

llaml.fab.anno = system.file('extdata', 'tcga_laml_fab_annotation.txt', package = 'maftools')
laml.fab.anno = read.delim(laml.fab.anno, sep = '\t')
m2.samples = dplyr::filter(.data = laml.fab.anno, FAB_classification %in% 'M2')
m2.samples$Tumor_Sample_Barcode = gsub(pattern = '-', replacement = '.', x = m2.samples$Tumor_Sample_Barcode) #Just temp step

m2.maf = subsetMaf(maf = laml, tsb = m2.samples$Tumor_Sample_Barcode, mafObj = T)
oncoplot(maf = m2.maf)

and do the same for other subtypes. And also once you subset for different covariates, try coOncoplot to draw side by side plots.

Just a suggestion for now if you really want something.

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.