combine_group_GRanges: Combine individual GRanges from a list of GRanges objects...

Description Usage Arguments Value

View source: R/genomic_ranges.R

Description

This is useful for making combined objects at the level of subclasses, clusters, or other annotations for analysis within R.

Usage

1
combine_group_GRanges(fragment_list, samples, group_col)

Arguments

fragment_list

a list of GRanges objects, each named by sample_id

samples

a sample meatdata data.frame with a column called sample_id and other columns to be used for grouping.

group_col

The column of the samples data.frame with group assignments.

Value

A list of GRanges objects, one for each unique value in group_col.


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