Skip to content

Commit

Permalink
Merge branch 'release/3.1.1' of github.com:satijalab/seurat-private i…
Browse files Browse the repository at this point in the history
…nto release/3.1.1
  • Loading branch information
mojaveazure committed Sep 20, 2019
2 parents d52e1da + ea116cd commit 87b99ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/preprocessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ CreateGeneActivityMatrix <- function(

# if any peaks start at 0, change to 1
# otherwise GenomicRanges::distanceToNearest will not work
start(peaks.gr[start(peaks.gr) == 0, ]) <- 1
BiocGenerics::start(peaks.gr[start(peaks.gr) == 0, ]) <- 1

# get annotation file, select genes
gtf <- rtracklayer::import(con = annotation.file)
Expand Down

0 comments on commit 87b99ab

Please sign in to comment.