bb_buff_granges: Clean Up Your GRanges Object

View source: R/trace_funcs.R

bb_buff_grangesR Documentation

Clean Up Your GRanges Object

Description

This function does several things. It removes ranges with non-standard chromosomes and drops their levels. It will optionally set the genome to the user-provided value. Typically we would use "hg38" or "danRer11". This is the exported version because it is so useful.

Usage

bb_buff_granges(x, gen)

Arguments

x

A Granges object to buff.

gen

An optional genome name to provide. Recommend "hg38" or "danRer11".

Value

A GRanges object


blaserlab/blaseRtools documentation built on April 14, 2025, 6:04 p.m.