titration: Calculate theoretical charge

View source: R/titration.R

titrationR Documentation

Calculate theoretical charge

Description

Calculate the theoretical charge of the given protein sequence over a range of pH values

Usage

titration(
  sequence = "",
  read_source = "",
  state = c("reduced", "oxidized"),
  chart_title = "",
  data_type = c("string", "file"),
  pH_start = 4,
  pH_stop = 10
)

Arguments

sequence

The single letter abbreviated protein sequence. A string or character vector of length one.

read_source

File path to the text file containing the protein sequence.

state

whether to calculate the charge under oxidizing or reducing conditions. default is reducing.

chart_title

The title to be displayed by ggplot2 above the produced graph

data_type

Instructs function whether to consider the sequence or read_source arguments. default value is "string".

pH_start

Starting point for theoretical titration. Must be numeric.

pH_stop

End point of theoretical titration. Must be numeric

Value

Returns the protein charge to Stdout and creates graph in Plots panel titration(sequence = "DYKDDDDK", chart_title = "Flag peptide") titration(read_source = "flagPeptide.txt", chart_title= "Flag peptide", data_type = "file")


carlsonkPhD/ProteinCharge documentation built on May 5, 2022, 9:11 a.m.