R/DifferentialAnalysis.R
getDiffPeak.Rd
A function to identify the differential peaks between two groups.
getDiffPeak(
norm_data,
condition,
rep_N,
control,
experment,
log2fc = 1,
padj = 0.05
)
The normalizated data obtained by **quantification**.
Your designed conditions, like the control and experiment.
The replicates number.
Which condition is the control.
Which condition is the experment.
The log2 fold change to determine the significant differential peaks.
The adjusted P values to determine the significant differential peaks.
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