Skip to content

taprati/ComutR

Repository files navigation

ComutR

R-CMD-check Codecov test coverage

Create comut plots in R! Built on top of ComplexHeatmap ComplexHeatmap Heavily inspired by the python package comut: comut

Major features include:

  • By default in works with MAF (Mutation Annotation Format) style input data!
  • Ability to add text annotations on top of the boxes
  • Allows for missing information to be made explicit

Installation

You can install the development version of ComutR from GitHub with:

# install.packages("devtools")
devtools::install_github("taprati/ComutR")

Example

The most basic comut plot takes a maf type data frame and generates a heatmap:

library(ComutR)

input_maf <- data.frame(
  Tumor_Sample_Barcode = c("1", "1", "1", "2", "3", "4", "4"),
  Hugo_Symbol = c("A", "B", "C", "C", "A", "A", "B"),
  Variant_Classification = c("Missense_Mutation", "Nonsense_Mutation", "In_Frame_Del", "In_Frame_Del", "Missense_Mutation", "Nonsense_Mutation", "Nonsense_Mutation")
)

comut(data = input_maf)

About

Comut plots in R using ComplexHeatmap. Inspired by python comut.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published