Commands log parsing functions
Functions
getBarcodeCutoffFromCommands()
:integer(1)
.getLevelFromCommands()
:character(1)
. Return"genes"
or"transcripts"
.getUmiTypeFromCommands()
:character(1)
.
Examples
file <- file.path(bcbioBaseTestsUrl, "surecell-commands.log")
log <- import(file)
#> → Downloading <https://r.acidgenomics.com/testdata/bcbiobase/surecell-commands.log> to /private/var/folders/l1/8y8sjzmn15v49jgrqglghcfr0000gn/T/RtmprBcLWH/c25lHsA3v1-169651164251099/pipette-10f0e549d60e0.log.
#> → Importing <https://r.acidgenomics.com/testdata/bcbiobase/surecell-commands.log> using base::`readLines()`.
getBarcodeCutoffFromCommands(log)
#> ℹ 1000 reads per cellular barcode cutoff detected.
#> [1] 1000
getLevelFromCommands(log)
#> Counts will imported as genes.
#> [1] "genes"
getUmiTypeFromCommands(log)
#> UMI type: surecell
#> [1] "surecell"