ExtractFragments: Run groupCommand for the first n lines, convert the cell...

View source: R/utilities.R

ExtractFragmentsR Documentation

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

Description

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.

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

Value

Returns a data.frame


Honchkrow/SignacSlim documentation built on April 9, 2022, 1:49 a.m.