mirror of
https://github.com/dchakro/shared_Rscripts.git
synced 2026-05-18 09:14:44 -07:00
add credits
This commit is contained in:
parent
79a312ec12
commit
2752987963
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ MutResidueFind <- function(MutationColumn){
|
||||||
# # USAGE:
|
# # USAGE:
|
||||||
# # MutatedResidue <- MutResidueFind(MutationColumn)
|
# # MutatedResidue <- MutResidueFind(MutationColumn)
|
||||||
|
|
||||||
|
# Based on a suggestion by https://github.com/mmahmoudian and https://github.com/epakarin
|
||||||
return(stringi::stri_extract_first(str = MutationColumn, regex = "[ACDEFGHIKLMNPQRSTVWYX]?[0-9]+(_[ACDEFGHIKLMNPQRSTVWYX]?[0-9]+)?"))
|
return(stringi::stri_extract_first(str = MutationColumn, regex = "[ACDEFGHIKLMNPQRSTVWYX]?[0-9]+(_[ACDEFGHIKLMNPQRSTVWYX]?[0-9]+)?"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue