base_complement: Returns the complementary sequence for a set of strings

Description Usage Arguments Value

View source: R/get_mutation_types.R

Description

Returns the complementary sequence for a set of strings

Usage

1
base_complement(base_strings, reverse = FALSE)

Arguments

base_strings

Character vector of sequences to return the complement of. Any characters aside from A, C, G, T will be returned as is.

reverse

If TRUE, then the sequence is reversed before it is returned.

Value

Character vector of complement or reverse complement sequences


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.