Package 'gaRbage'

Title: `gaRbage` is an R package for that random but sometimes useful code.
Description: `gaRbage` is an R package for that random but sometimes useful code.
Authors: Eric Hunt
Maintainer: Eric Hunt <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2024-11-08 04:42:50 UTC
Source: https://github.com/eric-hunt/gaRbage

Help Index


Get the GC content of a nucleic acid sequence

Description

Get the GC content of a nucleic acid sequence

Usage

seq_gc(seq, digits = 4)

Arguments

seq

A string - the nucleic acid sequence formatted as a single string

digits

An integer - rounding precision for the result (see [base::round()])

Value

A double, the GC content of *seq*, with precision defined by *digits*


Get the reverse complement of a nucleic acid sequence

Description

Get the reverse complement of a nucleic acid sequence

Usage

seq_revcomp(seq)

Arguments

seq

A string - the nucleic acid sequence formatted as a single string

Value

A string - the reverse complement of *seq*