A function to identify the differential peaks between two groups.

getDiffPeak(
  norm_data,
  condition,
  rep_N,
  control,
  experment,
  log2fc = 1,
  padj = 0.05
)

Arguments

norm_data

The normalizated data obtained by **quantification**.

condition

Your designed conditions, like the control and experiment.

rep_N

The replicates number.

control

Which condition is the control.

experment

Which condition is the experment.

log2fc

The log2 fold change to determine the significant differential peaks.

padj

The adjusted P values to determine the significant differential peaks.

Examples

  diff_peak <- getDiffPeak(data, condition=c("control","exp1"), rep_N = 2, control="control", experment="exp1")
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'ncol': non-numeric argument to mathematical function