@Shicheng Guo I get results like this:
ID1 ID2 ID3 ID4 ID5 ID6 P1_A P2_A P3_C........
NA <NA> NA NA NA NA 0 2 1
NA <NA> NA NA NA NA 1 1 0
NA <NA> NA NA NA NA 0 1 2
NA <NA> NA NA NA NA 2 0 2
• 0 views
•
link
Hello akang!
We believe that this post does not fit the main topic of this site.
This is a question on R. Please ask stackoverflow
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!
@Ram:File manipulation is an integral part of any bioinformatic analysis. So I think posts related to file manipulations should not be closed in this group. After all it is all about helping each other out.
I am sorry, but pure file manipulation questions, even if the file contains biological data, do not qualify as a bioinformatics questions unless the operation involved needs bioinformatics.
But yes, we make these calls on a case-by-case basis and if we come across an edge case, we ensure multiple mods agree before such a post is closed.
Your question is not an edge case though. The operation you're trying to do has nothing to do with bioinformatics, and the data does not look distinctly biological either.