head.Fragment: Return the first rows of a fragment file

View source: R/fragments.R

head.FragmentR Documentation

Return the first rows of a fragment file

Description

Returns the first n rows of a fragment file. This allows the content of a fragment file to be inspected.

Usage

## S3 method for class 'Fragment'
head(x, n = 6L, ...)

Arguments

x

a Fragment object

n

an integer specifying the number of rows to return from the fragment file

...

additional arguments passed to read.table

Value

The first n rows of a fragment file as a data.frame with the following columns: chrom, start, end, barcode, readCount.


Signac documentation built on Nov. 8, 2023, 5:07 p.m.