Skip to content

Instantly share code, notes, and snippets.

@sirusb
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sirusb/e2e1104bed50993ae69e to your computer and use it in GitHub Desktop.
Save sirusb/e2e1104bed50993ae69e to your computer and use it in GitHub Desktop.
Example of the basic Biostring classes
library(Biostrings)
bs <- BString("This is a normal string") # BString انشاء كائن
ds <- DNAString("GCAAAGT-TT-C") # DNAString انشاء كائن
rs <- RNAString("GCAAAGU-UU-C") # RNAString انشاء كائن
rs2 <- RNAString(ds) # RNAString إلى DNAString تحويل
aas <- AAString(ds) # AAString انشاء كائن
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment