performance_plot: make synthetic data plot function

Description Usage Arguments

View source: R/performanceplot.R

Description

make synthetic data plot function

Usage

1
2
3
performance_plot(working.dir, figure.dir, simul.data, fixedfold = FALSE,
  rep, nsample, nvar, nDE, fraction.upregulated, disp.Type, mode, rowType,
  AnalysisMethods)

Arguments

working.dir

Input file location

figure.dir

Figure save location

simul.data

Type of dataset (e.g. KIRC, Bottomly, mBdK and mKdB)

fixedfold

A logical indicating whether simulation data is made from fixed fold to imitate SEQC counts data. Possible values are TRUE or FALSE. If fixedfold is TRUE, fraction.upregulated is automatically fixed to 0.67.

rep

Number of replication each test contain.

nsample

Number of samples. Input as a numeric vector.

nvar

Number of total gene making synthetic data.

nDE

Number of generated DE genes in the synthetic data.

fraction.upregulated

proportion of upregulated DE genes in the synthetic data (e.g. 0.5, 0.7 and 0.9)

disp.Type

How is the dispersion assumed for each condition. Possible values are 'same' and 'different'.

mode

Test conditions we used for simulation data generation. Input as a character vector. "D" for basic simulation (not adding outliers). "R" for adding 5 "OS" for adding outlier sample to each sample group. "DL" for decreasing KIRC simulation dispersion 22.5 times (similar to SEQC data dispersion) to compare with SEQC data.

rowType

Type of measures. Combination of AUC, TPR and trueFDR. (e.g. c('AUC','TPR'))

AnalysisMethods

DEmethods used for figures. Input as character vectors (e.g. 'edgeR','edgeR.ql','edgeR.rb','DESeq.pd','DESeq2','voom.tmm','voom.qn','voom.sw','ROTS','BaySeq','BaySeq.qn','PoissonSeq','SAMseq')


unistbig/compareDEtools documentation built on May 1, 2020, 9:41 p.m.