Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to reformat this text input-file into this output_file?
2 次查看(过去 30 天)
显示 更早的评论
Hello guys,
Anyone can help me to reformat this input text file into this corresponding output file.
More specifically, this input file has multiple rows and 5 columns, column 4 have overlapped samples and every sample have many genes from column 5 and many values from column 1 as well. So, i want to create a new file which can show the list of genes correspond to every sample in column 4 and their corresponding values from column 1.
Note: I want to compare only the first 16 digits of every sample with the rest of the other samples.
The input_file
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194003/image.png)
The output file
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194004/image.png)
The data is too large to share it, and thus i just post an example from it.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!