plot_ploidy: Plot Inferred v.s. Average Ploidy

Description Usage Arguments Value Examples

View source: R/plot_ploidy.R

Description

Plot the inferred ploidy from FPI to average ploidy. ggplot2 is needed for this function

Usage

1
plot_ploidy(data, var, g_sep)

Arguments

data

the CNV dataset (see load_data)

var

The optimal value for all variables (see init_var)

g_sep

The separation value for inferred ploidy

Value

ggplot2 graph object

Examples

1
2
library(ggplot2)
p<-plot_ploidy(wkdata,FPI_result$var,g_sep)

yun-feng/WGDAP documentation built on Nov. 5, 2019, 1:22 p.m.