balance_fragment_clusters: Downsample fragments within cluster sets to match the sample...

Description Usage Arguments Value

View source: R/io_and_formats.R

Description

Downsample fragments within cluster sets to match the sample with the lowest number of fragments

Usage

1
balance_fragment_clusters(fragment_list, clusters)

Arguments

fragment_list

The list object containing GenomicRanges objects.

clusters

a vector with cluster assignments for each item in fragment_list

Value

a lis of GenomicRanges objects with all members of each cluster downsampled to the minimum number of reads of all cluster members.


AllenInstitute/lowcat documentation built on Oct. 30, 2019, 4:45 a.m.