Skip to content

Commit

Permalink
Merge pull request #286 from AlexsLemonade/jashapiro/round_fry
Browse files Browse the repository at this point in the history
Add rounding to alevin-fry import
  • Loading branch information
jashapiro authored Oct 30, 2024
2 parents 3cd4b2a + 14466da commit e1c1e2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: scpcaTools
Type: Package
Title: Single cell data tools for ScPCA
Version: 0.4.0
Version: 0.4.1
Authors@R: c(
person("Ally", "Hawkins",
email = "[email protected]",
Expand Down
3 changes: 3 additions & 0 deletions R/read_alevin.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ read_alevin <- function(
fryDir = quant_dir,
outputFormat = assay_formats
)
if (round_counts) {
assays(sce) <- lapply(assays(sce), round)
}
} else {
# read in any non-USA formatted alevin-fry data or Alevin data
counts <- read_tximport(quant_dir)
Expand Down

0 comments on commit e1c1e2f

Please sign in to comment.