I have a vector of samples from a nomenclature A
I have a manifest.txt with another name for samples with a nomenclature B, which is a dataframe :
nomA <- c("AA1","AA2","AA3","AA4")
nomB <- c("BB1","BB2","BB3","BB4")
I would like to turn my vector of samples in nomenclature A into nomenclature B.
I could use a loop, but the vector is too huge so I need to use a function, apply or other, which I don't find how to create.
Can someone help me ?