import_gmql: Create GRangesList from GMQL dataset

View source: R/GMQLtoGRanges.R

import_gmqlR Documentation

Create GRangesList from GMQL dataset

Description

It creates a GRangesList from GMQL samples in dataset. It reads sample files in GTF or GDM/tab-delimited format.

Usage

import_gmql(dataset_path, is_gtf)

Arguments

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

Value

GRangesList containing all GMQL samples in dataset

See Also

export_gmql

Examples


## 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)



DEIB-GECO/RGMQL documentation built on Feb. 17, 2024, 10:39 p.m.