Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed Jun 3, 2024
1 parent 410cecd commit 7d20050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/compartments.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ getCompartments <- function(
message( "Going through preflight checklist..." )
# - Check resolutions and chromosome subset
if (is.null(resolution)) resolution <- resolution(x)
resolution <- as.integer(resolution)
chrs <- GenomicRanges::seqnames(GenomeInfoDb::seqinfo(x))
names(chrs) <- chrs
if (!is.null(chromosomes)) chrs <- chrs[chromosomes]
Expand Down

0 comments on commit 7d20050

Please sign in to comment.