plot_scatter: Plot Recurrent CNV Before v.s. After WGD for each loci

Description Usage Arguments Value Examples

View source: R/plot_scatter.R

Description

Plot the values for the common events happenning before v.s. after WGD for each loci, by scatterplot ggplot2 is needed for this function

Usage

1

Arguments

data

the CNV dataset (see load_data)

var

The optimal value for all variables (see Run_lasso)

loci

The particular loci to be emphasized

Value

ggplot2 graph object

Examples

1
2
library(ggplot2)
p_scatter<-plot_scatter(wkdata,Lasso_res$var,loci=c(3606,864,4858,5261,5570))

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