View source: R/intervals-import.R
| gintervals.import_gff | R Documentation |
Reads a GFF3 or GTF file (optionally gzipped) and returns a misha 1D
intervals data frame. GFF/GTF are 1-based and inclusive on both ends;
coordinates are converted to 0-based half-open by subtracting 1 from
start and leaving end as-is.
gintervals.import_gff(file = NULL, feature = NULL, strand = TRUE, attrs = TRUE)
file |
path to a GFF/GTF file. |
feature |
optional feature-type filter (column 3 of GFF). Pass a
character vector to keep only those types (e.g. |
strand |
if |
attrs |
if |
Chromosome names are normalized through the active database's
CHROM_ALIAS mechanism.
A 1D intervals data frame with columns chrom, start, end, and optionally strand, type, source, score, attrs.
gintervals.import_bed,
gintervals.import_vcf.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.