generate_self_similarity_table: Generates a table of similarity measures within a set of...

View source: R/dataset_merging.R

generate_self_similarity_tableR Documentation

Generates a table of similarity measures within a set of peaks

Description

In some rare cases, called peaks will show a high degree of overlap, and before merging two different sets of peaks, the similar peaks within a set first need to be merged. This function looks for the most similar peak (non-self) within a set of peaks and calculates the level of overlap.

Usage

generate_self_similarity_table(peaks.1, ncores = 1)

Arguments

peaks.1

the set of peaks to merge

ncores

Number of cores for multithreading

Value

a data-frame with peaks from peaks.1 mapped to the closest peak within itself

Examples

## Not run: 
generate_similarity_table(peaks.1)

## End(Not run)

VCCRI/Sierra documentation built on July 3, 2023, 6:39 a.m.