import_gamet: Import a GAMET output file into R.

View source: R/file_utilities.R

import_gametR Documentation

Import a GAMET output file into R.

Description

Import a GAMET output file into R.

Usage

import_gamet(path)

Arguments

path

A string giving the path and filename to import.

See Also

predict_quality

Examples

##Example 1:
#Using a sample data file included with writeAlizer package

#load package
library(writeAlizer)

#get path of sample GAMET output file
file_path <- system.file("extdata", "sample_gamet.csv", package = "writeAlizer")

#see path to sample file
file_path

#import file and store as "gamet_file"
gamet_file <- import_gamet(file_path)

##Example 2:
#To import as "gamet_file" a GAMET file (sample name: gamet_output.csv)
#that is stored in the working directory
## Not run: 
gamet_file <- import_gamet('gamet_output.csv')

## End(Not run)

shmercer/writeAlizer documentation built on Feb. 13, 2024, 8:58 a.m.