how to compare between multiple text files with same columns but different rows?

조회 수: 2 (최근 30일)
Dear all,
I have 5 text files with 13 columns but different rows. How could i compare those files to check if they have some common information?
I appreciate any help!

채택된 답변

Walter Roberson
Walter Roberson 2017년 7월 12일
You can readtable() the files, and you can use intersect() on the various columns of the resulting table.
You will not find anything useful in common. KEGG_PATHWAY is the same for both of them in the first column, and otherwise all they have in common is some pop hits and some counts (which are clearly useless identifying information.)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 文本文件에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!