setGenomeProps: setGenomeProps

View source: R/genomicRegions.R

setGenomePropsR Documentation

setGenomeProps

Description

Set the genome properties for a GRanges or GAlignments object given the name of a genome assembly

Usage

setGenomeProps(
  gr,
  assembly,
  dropUnknownChrs = TRUE,
  adjChrNames = TRUE,
  silent = FALSE,
  ...
)

Arguments

gr

GRanges object or GAlignments object to modify

assembly

assembly

dropUnknownChrs

discard entries with seqnames not supported by assembly

adjChrNames

should the prefix "chr" be added to main chromosomes if not already present and chrMT be renamed to chrM?

silent

Limit logging to most important messages

...

arguments passed on to getSeqlengths4assembly

Value

GRanges object with genome properties set


demuellae/muRtools documentation built on Sept. 8, 2023, 4:32 p.m.