Matlab PANDA function issues
0
0
Entering edit mode
15 months ago
John • 0

I'm utilizing this site's guidelines to run PANDA through Matlab (but I also had to make a couple edits because I don't have ppi to use; I was told, though, that ppi isn't required and Matlab should be simple to use for that purpose). Here is the link: https://github.com/netZoo/netZooM/blob/master/tutorials/panda/panda.pdf

But I'm finding that some of the basic Matlab functions (like readtable, textscan, and fopen) don't seem to work properly. Could someone help me guide through this, please? Thanks.

addpath(genpath('path/to/netZooM'))

exp_file = 'path to file here';
motif_file = 'path to file here';
panda_out = '';
lib_path = 'path to lib path here';
save_temp = '';

alpha = 0.1;
save_pairs = 0;

expressionData = readtable(exp_file);
size(expressionData)
[TF] = textscan(motif_file, '%s%s%f');%textscan also doesn't work for motif_file
[TF] = readtable(motif_file);%to fix, readtable isn't working for TF, but it's working for exp_file

TFNames = unique(TF); %problem

disp('Reading in expression data!');
fid = fopen(exp_file, 'r'); %problem, fopen isn't working
headings = fgetl(fid); %problem fget1 isn't working bc above isn't working
matlab panda • 430 views
ADD COMMENT

Login before adding your answer.

Traffic: 1639 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6