import_gmql {RGMQL} | R Documentation |
It creates a GRangesList from GMQL samples in dataset. It reads sample files in GTF or GDM/tab-delimited format.
import_gmql(dataset_path, is_gtf)
dataset_path |
string with GMQL dataset folder path |
is_gtf |
logical value indicating if dataset samples are in GTF format; if TRUE and dataset does not contain GTF samples, an error occurs |
GRangesList containing all GMQL samples in dataset
## This statement defines the path to the subdirectory "example" of the ## package "RGMQL" and imports as GRangesList the contained GMQL dataset test_path <- system.file("example", "DATASET", package = "RGMQL") grl = import_gmql(test_path, TRUE)