read10xMolInfoSamples: Step 2: load data from the molecule_info.h5 files

View source: R/1_load_data.R

read10xMolInfoSamplesR Documentation

Step 2: load data from the molecule_info.h5 files

Description

Step 2: load data from the molecule_info.h5 files

Usage

read10xMolInfoSamples(samples, barcode_length = NULL)

Arguments

samples

A named list of filepaths.

barcode_length

the length of the cell barcode for v2 data.

Details

For each sample, the function loads from the molecule_info.h5 file the data corresponding to the following four fields: cell-barcode, gene, umi, and read. The genes field containing the reference gene names is also read from the first sample on the assumption that this field is identical across the samples - as should be the case.

Value

lists of cell, gene, umi, read count, and ref_genes variables.


csglab/PhantomPurgeR documentation built on July 27, 2023, 8:05 a.m.