Skip to contents

Identifies the correct path for Cell Ranger output files (matrix.mtx, barcodes.tsv, genes.tsv or features.tsv), possibly in compressed or uncompressed forms.

Usage

files3_prep(folder)

Arguments

folder

Path to the Cell Ranger output folder.

Value

The path to the folder containing the data files. If no files are found, returns NULL.

Examples

if (FALSE) {
data_folder <- files3_prep("/path/to/cellranger/output")
}