How to make an amino acid sequence using `AAString ()`?
0
0
Entering edit mode
13 months ago
star ▴ 350

I want to make an amino acid sequence using AAString (). but I want to repeatedly repeat each amino acid and substitute it with a different AA.

For example:

a <- AAString("HQDIS")

I want to repeat "H" 4 times but one time substitute with L, and so on.

In the end, I would like to have an output like this:

AAString object

HQDIS
HQSIT
HQDIL
LQRIS
String geom_seqlogo ggplot2 R ggmsa • 556 views
ADD COMMENT
0
Entering edit mode

Can you explain what you're trying to do in more detail? For example, how are you determining what the you want the other residues to be? Also are you trying to repeat the letters in a fixed pattern, or based on some probability of occurance?

ADD REPLY

Login before adding your answer.

Traffic: 1988 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6