plotALLU_hPTM: Make an alluvial plot with the histone PTMs ratio in each...

View source: R/epiprofile_plot.R

plotALLU_hPTMR Documentation

Make an alluvial plot with the histone PTMs ratio in each sample

Description

Make an alluvial plot with the histone PTMs ratio in each sample

Usage

plotALLU_hPTM(data, peptide_name, right_sample_name, num_col = 12)

Arguments

data
peptide_name

Name of the peptide to plot

right_sample_name

name of the sample on the RHS that will have some extra geom_labels

num_col

number of colours to use for the plot

Value

A nice alluvial plot

Examples

    tidy_hPTMs() |>
    get_hPTM_FC(Reference_Sample_Name = 'WT_1_DIA') |>
    plotALLU_hPTM(peptide_name = "KSAPATGGVKKPHR(H3_27_40)",
                  right_sample_name = "Last_Sample_DIA", 
                  num_col = 12)

Ni-Ar/niar documentation built on Feb. 3, 2025, 9:25 a.m.