txReadsPerCell: Read 10X Reads per Cell barcode

Description Usage Arguments Value

View source: R/dropseq-dge.R

Description

This reads and aggregates the molecule info file output by the 10X pathway into reads per cell barcode for use in txCutoffPlot. (This is because it takes some time to read in this data, so many plots can be tried with only having to read the data once.)

Usage

1
txReadsPerCell(molecule.info.path)

Arguments

molecule.info.path

(Character) Path to the molecule_info.h5 file output by 10X.

Value

Returns a data.frame with columns "barcode" (2-bit encoded cell barcode), "reads", "unmapped_reads", and "nonconf_mapped_reads" (as per 10X documentation), and "total_reads", which is the sum of the 3 previous columns.


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.