dot-pyToR.Rd
Python uses a dot to access attributes, while R uses $
; this function
converts the python style into R so that we can use R code to populate
variables with R lists. From this: '{sample.name}
' to this: '{sample$name}
'
.pyToR(str)
str | String to recode |
---|
string with the recoded accession syntax
.pyToR("{sample.genome}/{sample.read_type}/test")#> [1] "{sample$genome}/{sample$read_type}/test"