[Seqinr-commits] r2129 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue May 25 14:14:49 CEST 2021
Author: simonpenel
Date: 2021-05-25 14:14:49 +0200 (Tue, 25 May 2021)
New Revision: 2129
Modified:
pkg/man/translate.Rd
Log:
Improve translate.Rd documentation
Modified: pkg/man/translate.Rd
===================================================================
--- pkg/man/translate.Rd 2021-05-25 12:09:19 UTC (rev 2128)
+++ pkg/man/translate.Rd 2021-05-25 12:14:49 UTC (rev 2129)
@@ -124,7 +124,7 @@
## Complex transsplicing operations, the correct frame and the correct
## genetic code are automatically used for translation into protein.
seq <- getSequence(trans$req[[1]])
-translate(seq) == trans1
+identical(translate(seq),trans1)
#default frame and genetic code are correct
trans <- query("trans", "N=AB004237")
trans1 <- getTrans(trans$req[[1]])
@@ -131,9 +131,9 @@
## Complex transsplicing operations, the correct frame and the correct
## genetic code are automatically used for translation into protein.
seq <- getSequence(trans$req[[1]])
-translate(seq) == trans1
+identical(translate(seq),trans1)
#default genetic code is not correct
-translate(seq,numcode=2) == trans1
+identical(translate(seq,numcode=2),trans1)
#genetic code is 2
}
}
More information about the Seqinr-commits
mailing list