mirror of
https://github.com/dchakro/shared_Rscripts.git
synced 2026-05-17 09:12:16 -07:00
Updates
- add IsolateCanonicalVariant.R - remove variables used to check and install dependencies
This commit is contained in:
parent
b35647d0df
commit
a1a6dd9dcf
3 changed files with 77 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
dependencies <- c("stringi")
|
||||
missing_packages <- dependencies[!(dependencies %in% installed.packages()[, "Package"])]
|
||||
if(length(missing_packages)) install.packages(missing_packages)
|
||||
rm(missing_packages,dependencies)
|
||||
|
||||
MutSiteFind <- function(MutationColumn){
|
||||
return(unlist(x = stringi::stri_extract_first_regex(str = MutationColumn,pattern = "[[:digit:]]+"), use.names = F))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue