create_random_peptide_with_hydrophobicity: Creates a random peptide of a certain hydrophobicity

View source: R/create_random_peptide_with_hydrophobicity.R

create_random_peptide_with_hydrophobicityR Documentation

Creates a random peptide of a certain hydrophobicity

Description

Creates a random peptide of a certain hydrophobicity

Usage

create_random_peptide_with_hydrophobicity(
  peptide_length,
  min_hydrophobicity,
  max_hydrophobicity,
  n_attempts = 1000
)

Arguments

peptide_length

length of the peptide in amino acids

min_hydrophobicity

the minimal hydrophobicity

max_hydrophobicity

the maximal hydrophobicity

n_attempts

number of attempts before the algorithm will stop

Author(s)

Richèl J.C. Bilderbeek

Examples

create_random_peptide_with_hydrophobicity(
  peptide_length = 2,
  min_hydrophobicity = 1.0,
  max_hydrophobicity = 1.5
)

richelbilderbeek/bbbq documentation built on July 27, 2023, 2:15 a.m.