fasta2df: Return a dataframe object with fasta information

Description Usage Arguments Value Author(s) References Examples

View source: R/Import.R

Description

Perform fasta file retrieving using readRNAStringSet function from Biostrings, result stored in standarlize data.frame for easy usage.

Usage

1
fasta2df(filepath)

Arguments

filepath

The path directed to fasta file on current working directory

Value

Return a data.frame object contain fasta document loaded

Author(s)

Sijie Xu, sijie.xu@mail.utoronto.ca

References

H. Pagès, P. Aboyoun, R. Gentleman and S. DebRoy (2020). Biostrings: Efficient manipulation of biological strings. R package version 2.56.0.

Examples

1
2
filePath <- system.file("extdata", "test.fasta", package = "rseAnalysis")
fasta <- fasta2df(filePath)

JackXu2333/dseAnalysis documentation built on Dec. 31, 2020, 1:09 p.m.