mergeBedpe | R Documentation |
Given a list of BEDPE files, a resolution, and a selector column, this function will use dbscan to merge loops by genomic distance.
mergeBedpe( bedpeFiles, res = 5000, selectCol = 12, dist_method = "manhattan", minPts = 2 )
bedpeFiles |
Character vector of BEDPE file paths to be merged. |
res |
Integer - resolution in base-pairs of all BEDPE interactions. Used to
determine the epsilon value for |
selectCol |
Integer or character string denoting the column to be used to select clustered interactions. |
dist_method |
Character string - distance measure used in the dist function. For
available methods see |
minPts |
Integer - minimum number of interactions to form a DBSCAN cluster. |
Returns a data table of selected BEDPE interactions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.