View source: R/dataset_merging.R
generate_merged_peak_table | R Documentation |
Given a reference data-set, a list of data-sets for merging and set of merged peaks from the referece, identify peaks that should be merged. Merged peaks are taken as the union of the peaks to be merged. For two given peaks, A and B, they will be merged if at least one has some x% (75% by default) or more overlap with the other, and the other has at least x-(y*x)% overlap where y is a percentage of allowed variance (25% by default).
generate_merged_peak_table(
dataset.1,
peak.dataset.list,
self.merged.peaks.list,
sim.thresh = 0.75,
allow.match.var = 0.25,
ncores = 1
)
dataset.1 |
the reference peak data-set |
peak.dataset.list |
a list of peak data-sets |
self.merged.peaks.list |
the set of self-merged peaks from the reference data-set |
sim.thresh |
The required similarity threshold for merging (default: 0.75) |
allow.match.var |
The allowance for deviation from the sim.thresh for comparison peaks (default: 0.25) |
ncores |
Number of cores for multithreading |
a data-frame containing peaks, their class (merged or unique) and the original peak from the reference
## Not run:
generate_merged_peak_table(dataset.1, peak.dataset.table, self.merged.peaks.list)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.