read_gff: Reading and Writing GFF Files

Description Usage Arguments Examples

View source: R/gff.R

Description

Read and write General Feature Format (a.k. gene-finding format, generic feature format, GFF) is a file format for describing genes and other genetic features.

Usage

1
read_gff(path, na_strings = c(".", "?"))

Arguments

path

String. Path to the input/output .gff file.

na_strings

Vector of strings. Which strings in the GFF file are missing values and should be converted to NAs. (Default: 'c(".", "?")')

append

Logical. Should the process overwrite the existing file? (Default: FALSE)

Examples

1
2
gff <- read_gff("folder/myfile.gff")
write_gff(gff_filtered, path = "folder/myfile_filtered.gff")

colbyford/cytosieve documentation built on April 24, 2021, 8:24 p.m.