isSnapFile: Check a snap-format file

View source: R/snap-utilities.R

isSnapFileR Documentation

Check a snap-format file

Description

This function takes a file name as input and check if the file is a snap-formated file

Usage

isSnapFile(file)

Arguments

file

A file name.

Value

Return a logical variable indicates whether file is a snap file.

Examples

file.name = system.file("extdata", "demo.snap", package = "SnapATAC");
isSnapFile(file.name);


r3fang/SnapATAC documentation built on March 29, 2022, 4:33 p.m.