TCGAbiolinks (version 1.2.5)

TCGAvisualize_mutation: Visualize mutation

Description

See

Usage

TCGAvisualize_mutation(data = NULL, colors = NULL, samples = NULL, geneList = NULL, filename = NULL, threshold = 0, by = "genes", groupCol = NULL, na.rm = TRUE)

Arguments

data
A data frame with the cluters and subytpe of cancers
colors
Vector of colors for the barplot
samples
Samples to consider mutation
geneList
List of genes to plot
filename
Name of the file to save the plot, can be pdf, png, svg etc..
threshold
plot only if number of mutated genes are higher than threshold
by
type of plot. Options: "genes" and "cluster". By "genes" the axis will receive the genes and how many samples are mutated. By "cluster" will show the mutations of only one gene in the cluster.
groupCol
Must be provided if by is set to "cluster"
na.rm
Remove NA groups

Value

A plot