I have a list of genes (strings of letters) and I want delete the ones that has letters other than ATGC (N for example). how can I do it?
Thank you!
Best Answer
You just want to remove the invalid letters? The code below will do that. If you want to check if a gene string is invalid you can check that withany(~L).
In current versions the file is at fullfile(matlabroot, 'examples/bioinfo/pasilla_count_noMM.mat') . Not long ago the file was at fullfile(matlabroot, 'toolbox/bioinfo/biodemos/pasilla_count_noMM.mat')
Before R2015b this file did not exist; the example loaded different data from different locations.
Best Answer