Description Usage Arguments Value Examples
View source: R/nucleotide_matation.R
Calculate nucleotide (A, T, C and G) mutations, transition, transversion and their frequency.
1 |
data |
A colums from 11 to 22 in the IMGT Table 8 caled "8_V-REGION-nt-mutation-statistics.txt". |
Output is four different values:
vregion_nt_mut number of nucleotide mutations in V region.
transition_rel the frequencies of transition.
transverion_rel the frequencies of transversion.
trans_transv_anzahl number of transition and transversion in V region.
1 2 3 4 5 6 7 8 9 | data(IMGTtab8)
bm_proband<- nucleotide_mutation(IMGTtab8[,11:22])
percentlabels<- round(bm_proband$vregion_nt_mut/sum(bm_proband$vregion_nt_mut)*100)
pielabels<- paste(percentlabels, "%", sep="")
pie(bm_proband$vregion_nt_mut, col=c("grey50","black","grey90","white"),
labels=pielabels, cex=1.5, radius = 0.3)
legend("right", c(" prod. IGHV"), cex=1.5)
legend("topleft", c("A","G","T","C"), cex=2, fill=c("grey50","black",
"grey90","white"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.