You can install the development version of Rbosome from GitHub with:
# install.packages("devtools")
devtools::install_github("rforbiodatascience22/group_3_package")
library(Rbosome)
Rbosome package delivers an easy way to work with the central dogma of molecular biology.
It provides basic functions to:
create a random DNA strand
transform DNA to RNA
transform RNA to a list of codons
translate RNA codons to letter code of amino acids
generate an amino acids’ abundance plot
set.seed(26)
DNA_seq <- ATGC(90)
DNA_seq
#> [1] "CCGCCGGAGTCTCTTTAGTTCGCGCTAGCCGCGGCAGAAACTGCTGAGTCGCCCTGGAGACTTACAGCGCGGACATGTAACGGCCACGAA"
RNA_seq <- DNA_to_RNA(DNA_seq)
RNA_seq
#> [1] "CCGCCGGAGUCUCUUUAGUUCGCGCUAGCCGCGGCAGAAACUGCUGAGUCGCCCUGGAGACUUACAGCGCGGACAUGUAACGGCCACGAA"
codons <- rna_transform(RNA_seq)
codons
#> [1] "CCG" "CCG" "GAG" "UCU" "CUU" "UAG" "UUC" "GCG" "CUA" "GCC" "GCG" "GCA"
#> [13] "GAA" "ACU" "GCU" "GAG" "UCG" "CCC" "UGG" "AGA" "CUU" "ACA" "GCG" "CGG"
#> [25] "ACA" "UGU" "AAC" "GGC" "CAC" "GAA"
AA_seq = translate(codons)
AA_seq
#> [1] "PPESL_FALAAAETAESPWRLTARTCNGHE"
aa_abundance_plot(AA_seq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.