clusters2ranges: Convert saarclust object into 'GRanges-class' object.

Description Usage Arguments Value Author(s)

View source: R/export.R

Description

This function takes saarclust object and for each region reports user defined number of clusters each regions likely belongs as a GRanges-class object.

Usage

1
clusters2ranges(saarclust.obj = NULL, best.prob = 1, prob.th = 0.5)

Arguments

saarclust.obj

A path to the minimap file to load.

best.prob

Set number of highest probability clusters reported per genomic region.

prob.th

Only regions with this probability and higher will be reported.

Value

A GRanges-class object with reported cluster ID per genomic region.

Author(s)

David Porubsky


daewoooo/SaaRclust documentation built on May 28, 2019, 7:50 p.m.