Skip to contents

Map sample identifiers (vial labels) to participant IDs (PIDs). Vial labels are unique per sample; PIDs are unique per animal. Multiple vial labels correspond to different aliquots of the same tissue sample.

Usage

viallabel_to_pid(viallabels)

Arguments

viallabels

vector, list of vial labels

Value

named list where names are vial labels and values are PIDs

Examples

map = viallabel_to_pid(c("90416015402", "90416015403", "90416015302"))
map = viallabel_to_pid(c(90416015402, 90416015403, 90416015302))
map 
#> <NA> <NA> <NA> 
#>   NA   NA   NA