make_fasta_summary: make db summary which includes number of sequences, and amino...

View source: R/create_fgcz_fasta_db.R

make_fasta_summaryR Documentation

make db summary which includes number of sequences, and amino acid statistcis

Description

make db summary which includes number of sequences, and amino acid statistcis

Usage

make_fasta_summary(resDB, old = FALSE, as_string = TRUE)

Value

array of strings which should be passed to the cat function.

Examples

file = system.file("extdata/fgcz_contaminants2022_20220405.fasta.gz",package="prozor")
xx <- prozor::readPeptideFasta(file)
cat(make_fasta_summary(xx))
rbenchmark::benchmark(make_fasta_summary(xx),replications = 10)
rbenchmark::benchmark(make_fasta_summary(xx, old = TRUE), replications = 10)
make_fasta_summary(xx, as_string = FALSE)
make_fasta_summary(xx, old =TRUE, as_string = FALSE)

protViz/prozor documentation built on Nov. 13, 2024, 12:30 a.m.