Description Usage Arguments Details Value Note Author(s) See Also Examples
This function compares the amino acid distribution of different samples. Sequences of the same length are clustered and analyzed. Additionally the number of sequences for each sample can be returned. Parallel processing is possible.
1 2 3 4 5 |
sequence.list |
A list containing vectors of amino acid sequences of each sample |
names |
A vector containing names for the samples (default: Sample1, Sample2, ...) |
numberSeq |
Shall number of sequences used for analysis be returned? (default: FALSE) |
nrCores |
Number of cores used for parallel processing |
comp.tab |
Output tab from |
plotSeqN |
Shall number of sequences used for analysis be plotted? (only possible, if in |
colors |
colors used for individuals in sequence number plot (default: rainbow) |
title |
Title of plot |
PDF |
PDF project name (see Details) |
Amino acid distribution for each individual is analyzed. Sequenzes of the same length are clustered and amino acid distribution for each position is measured.
The PDF
character string should be only the project name (without ".pdf").
A figure called "PDF"_Comparison_Amino-acid-distribution.pdf will be saved to the working directory.
Optional another figure called PDF"_Comparison_Number-of-sequences.pdf" will be returned.
Output is a list containing amino acid distributions for each sequence length and each sample.
For large datasets computational time can be extensive.
Julia Bischof
compare.aaDistribution
, plotCompareAADistribution
, aaDistribution
1 2 3 4 5 6 7 8 9 | data(aaseqtab)
data(aaseqtab2)
AAdistr.comp<-compare.aaDistribution(sequence.list = list(aaseqtab$CDR3_IMGT,
aaseqtab2$CDR3_IMGT), names = c("IndA", "IndB"), numberSeq = FALSE, nrCores = 1)
## Not run:
plotCompareAADistribution(comp.tab = AAdistr.comp, plotSeqN = FALSE, PDF = "Example")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.