permuspliner.plot.permdistance: Plot permuted distance distribution

View source: R/pk_permusplinectomy.R

permuspliner.plot.permdistanceR Documentation

Plot permuted distance distribution

Description

Compare the permuted distances to the true distance. Requires permuspliner run with the "retain_perm" option.

Usage

permuspliner.plot.permdistance(data, xlabel = NULL)

Arguments

data

The results object from the permuspliner function

xlabel

Name for the x axis in the plot

Examples

distplot <- permuspliner.plot.permdistance(results, xlabel='Time')

# View the plot
distplot

# Save the plot as PNG file
ggsave(distplot, file = 'my_plot.png', dpi=300, height=4, width=4)


RRShieldsCutler/splinectomeR documentation built on April 24, 2022, 2:20 a.m.