Skip to contents

Transforms data frame holding variant information to a matrix that can be used as OncoPrint input

Usage

prepare_dataframe_for_oncoprint(
  variant_data_frame,
  id_column = "sample_id",
  gene_column = "gene",
  variant_type_column = "consequence_s"
)

Arguments

variant_data_frame

Data frame holding variant information

id_column

Column holding identifiers

gene_column

Column holding genes

variant_type_column

Column holding variant types

Value

data frame as needed for onocprint plot