Get the top N specific peaks in each sample.

getTopSpecifcPeaks(
  spm_data,
  norm_data,
  top_N = 1000,
  save_path = NA,
  file_prefix = NA
)

Arguments

spm_data

The Specificity Measure(SPM) result obtained by **calSPM**.

norm_data

A normalized data matrix obtained by **quantification**.

top_N

The top N specific peaks to return. Default is 1000.

save_path

The path to save file.

file_prefix

The save file prefix.

Examples

   getTopSpecifcPeaks(spm, quant_data, top_N = 1000)
#> Error in eval(expr, envir, enclos): object 'spm' not found