Off topic:Merging cells in each rows using semicolon?
0
0
Entering edit mode
5.7 years ago
arsilan324 ▴ 90

Hi all,

This may be a very basic question but I am not able to fo since last hour. I want to merge cells in each row using a comma or semicolon. The data looks like

OTU_1   23  15  273 51  127 190 220 83  k__Bacteria p__Chloroflexi  c__SJA-15   o__C10_SB1A f__C10_SB1A g__Candidatus Amarilinum    s__

The output would be like this

OTU_1;23;15;273;51;127;190;220;83;k__Bacteria;p__Chloroflexi;c__SJA-15;o__C10_SB1A;f__C10_SB1A;g__Candidatus Amarilinum;s__

Can you please guide how it can be done in R. I know how to use concatinate function but i am wondering if it can be done in R?

Thanks

Excel R Statistics Data • 888 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2710 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6