Convert from 'TARGET-40-PALPAX' to 'PALPAX'

target_usi_to_samplename(usi, long = FALSE)

Arguments

usi

character() A target USI of the form "TARGET-40-ABCDEF" or "TARGET-40-ABCDEF-01A-10A"

long

logical() Specify TRUE for USIs of the form "TARGET-40-ABCDEF-01A-10A" and FALSE for "TARGET-40-ABCDEF"