legoplot: Legoplot exihibition of 96 mutational categories.

Description Usage Arguments Details See Also Examples

View source: R/legoplot.R

Description

Legoplot exihibition of 96 mutational categories.

Usage

1
legoplot(originalGenomes_file, counts=NULL, alpha=0.8, scalez=0.15, gap=0.1, contexts_file=system.file('data/contexts.txt',package='lxctk'), snapshot_fig, piechart_fig)

Arguments

originalGenomes_file

Input file generated by decipherMutationalSignatures (https://github.com/lixiangchun/decipherMutationalSignatures).

counts

A numeric vector, i.e. rowSums of originalGenomes_file. If provided, originalGenomes_file is ignored.

alpha

Transparency.

scalez

Magnitude scaling of z-axis.

gap

Gap between barplots.

contexts_file

Leave it unchanged.

snapshot_fig

PNG snapshot of legoplot.

piechart_fig

PDF output file for the pie chart.

Details

See the following example for more info about inputs.

See Also

...

Examples

1
2
library(lxctk)
legoplot(system.file('data/stad_regular_GC_originalGenomes.txt', package="lxctk"))

lixiangchun/lxctk documentation built on May 21, 2019, 6:44 a.m.