rbind_granges: Bind GRanges with different mcols

View source: R/rbind_granges.R

rbind_grangesR Documentation

Bind GRanges with different mcols

Description

Bind GRanges with different mcols

Usage

rbind_granges(gr1, gr2)

Examples

## Not run: 
merged_DT <- echodata::get_Nalls2019_merged()
gr.hits <- CORCES2020_get_ATAC_peak_overlap(dat = merged_DT)
gr.hits$extra_col <- "Extra"
gr.anchor_hits <- CORCES2020_get_hichip_fithichip_overlap(
    dat = merged_DT)
try({gr.bind <- c(gr.hits, gr.anchor_hits)})
gr.bound <- rbind_granges(gr1, gr2)

## End(Not run)

RajLabMSSM/echoannot documentation built on Oct. 26, 2023, 2:41 p.m.