Learn R Programming

RADstackshelpR (version 0.1.0)

vis_depth: Visualize the effect of varying the m parameter on the mean depth of each sample

Description

This function takes the list of dataframes output by optimize_m() as input. The function then uses ggplot2 to visualize the effect of m on depth.

Usage

vis_depth(output = NULL)

Arguments

output

A list containing 5 dataframes generated by optimize_m()

Value

A plot showing the depth of each sample at each given m value

Examples

Run this code
# NOT RUN {
vis_depth(output =
readRDS(system.file("extdata","optimize.m.output.RDS",package="RADstackshelpR",mustWork=TRUE)))
# }

Run the code above in your browser using DataLab