head.Fragment | R Documentation |
Return the first rows of a fragment file
## S3 method for class 'Fragment' head(x, n = 6L, ...)
x |
a |
n |
an integer specifying the number of rows to return from the fragment file |
... |
additional arguments passed to |
The first n
rows of a fragment file as a data.frame
with the following columns: chrom, start, end, barcode, readCount.
head.Fragment
: the first n
rows of a fragment file. This allows the content
of a fragment file to be inspected.
fpath <- system.file("extdata", "fragments.tsv.gz", package="scUtils") frag <- CreateFragmentObject(fpath) head(frag)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.