Kapitalizacja tekstu konkretnej kolumny w ramce danych R
Mam dane, które wyglądają tak:
GO:2000974 7,8 negative_regulation_of_pro-B_cell_differentiation Notch1 ISS
GO:2000974 7,8 negative_regulation_of_pro-B_cell_differentiation Q9W737 IEA
GO:0001768 4 establishment_of_T_cell_polarity Ccl19 IEA
GO:0001768 4 establishment_of_T_cell_polarity Ccl19 ISS
GO:0001768 4 establishment_of_T_cell_polarity Ccl21 IEA
To, co chcę zrobić, to zamienić tekst na wielkie literyczwarty kolumna. Na przykład teraz mamyNotch1
, następnie zostanie przekonwertowany naNOTCH1
. Jak to zrobić w R? Utknąłem z tym:
dat<-read.table("http://dpaste.com/1353034/plain/")