Read a fasta file (Reads need to be the same length).

read_fasta(datafile = NULL)

Arguments

datafile

Path to a fasta file.

Value

Return a list contains reads and dim of the data.

Examples

# Read a fasta file datFile <- system.file("extdata", "sim.fasta", package = "CClust") dat <- read_fasta(datafile = datFile)
#> Minimum read length: 240 #> Maximum read length: 240