deparse_chains: Revert chain tibbles to strings

View source: R/util-read_chains.R

deparse_chainsR Documentation

Revert chain tibbles to strings

Description

Deparses chain data tibbles back to strings, depending on the structure of the tibble; plain sequence if there's only one row and name column is NA, a FASTA-like format otherwise.

Usage

deparse_chains(tbl_sq, separator = ag_option("chain_separator"))

Arguments

tbl_sq

[tibble()]
Sequence data for one protein.

separator

[character(1)]
A character or string to join lines of data with.

Value

A character vector with FASTA-like entries or plain sequences.


KotulskaLab/AmyloGraph documentation built on June 30, 2023, 8:48 p.m.