View source: R/fct_maftools_extending_functions.R
| maftools_plot_rainfall | R Documentation |
Wraps maftools::rainfallPlot. The original function plots a rainfall graph, prints the predicted kataegis coords as a df, and writes it to a file. This function does all of this EXCEPT it hides the printed df, reads the df from the file and returns it. It also deletes the created file.
maftools_plot_rainfall(
maf,
tsb,
detectChangePoints = TRUE,
ref.build = "hg19",
pointSize = 0.4,
fontSize = 1.2
)
maf |
an |
tsb |
specify sample names (Tumor_Sample_Barcodes) (string) |
detectChangePoints |
If TRUE, detectes genomic change points where potential kataegis are formed. Results are written to an output tab delimted file. |
ref.build |
Reference build for chromosome sizes. Can be hg18, hg19 or hg38. Default hg19. |
pointSize |
Default 0.8. |
fontSize |
Default 12. |
predicted kataegis sites (dataframe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.