RivPlot: River Plots

View source: R/RiverPlot.R

RivPlotR Documentation

River Plots

Description

RivPlot is a wrapper for the modified plot_river2 function. the original plot_river is taken from the MutationalPatterns Package

Usage

RivPlot(
  input,
  fontsize = 4,
  is_ui = FALSE,
  is_norm = FALSE,
  title = "",
  AltCol = T,
  facet = NULL
)

Arguments

input

mutation count matrix from the get_mut_context_matrix() function

fontsize

font size of the text of the nucleotide/mutation labels

is_ui

are you plotting UI values or mutation count?

is_norm

is the data normalized?

title

Plot's title

AltCol

using alternative colors?

facet

a character vector to be used for facet labels


rayanramin/RamPack documentation built on Sept. 2, 2023, 1:20 a.m.