diff --git a/DESCRIPTION b/DESCRIPTION index f5af00e..b8eb805 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 = "ally.hawkins@ccdatalab.org", diff --git a/R/read_alevin.R b/R/read_alevin.R index 32e02fb..6d707cd 100644 --- a/R/read_alevin.R +++ b/R/read_alevin.R @@ -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)