Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to reformat this text input-file into this output_file?

1 Ansicht (letzte 30 Tage)
chocho
chocho am 7 Nov. 2018
Geschlossen: Sabin am 11 Mär. 2023
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
The output file
The data is too large to share it, and thus i just post an example from it.
  9 Kommentare
chocho
chocho am 9 Nov. 2018
@Bob Nbob I edited yr code by using curly braces but still getting an error
chocho
chocho am 9 Nov. 2018
@KSSV Could you plz help me again to do this job ?

Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by