Dear all,
Can someone tell me how I could remove everything after the second dot (including the second dot)?
Example:
Before: GTEX.111CU.1426.SM.5GZYP
After: GTEX.111CU
I used this before to remove after the first dot:
example$Name=gsub("\..*","",example$Name)
Thank you so much!
Bine