ExtractFragments: ExtractFragments

View source: R/scUtilities.R

ExtractFragmentsR Documentation

ExtractFragments

Description

ExtractFragments

Usage

ExtractFragments(fragments, n = NULL, verbose = TRUE)

Arguments

fragments

A Fragment object

n

Number of lines to read from the beginning of the fragment file

verbose

Display messages

Details

Run groupCommand for the first n lines, convert the cell barcodes in the file to the cell names that appear in the fragment object, and subset the output to cells present in the fragment object. Every cell in the fragment file will be present in the output dataframe. If the cell information is not set, every cell barcode that appears in the first n lines will be present.

Value

Returns a data.frame


wzthu/esATAC documentation built on Aug. 12, 2022, 7:41 a.m.