Learn R Programming

mnmer (version 0.99.1)

readNumFASTA: readNumFASTA

Description

Load data in to the R system.

Usage

readNumFASTA(FASTAfile, size = 0, rand = FALSE, pni = 0.2)

Value

DNAStringSet object

Arguments

FASTAfile

Path to a multifasta file FASTAfile

size

Number of sequences to be loaded size

rand

Sequences choose mode random or not. TRUE or FALSE rand

pni

Cutoff percentage for maximum of non-ACTG bases in the sequences pni

Examples

Run this code
dir <-system.file("extdata", package="mnmer")
human <-readNumFASTA((file.path(dir, "human_vir.fasta")), 10, TRUE, 0.50)

Run the code above in your browser using DataLab