importPandaMatlab | R Documentation |
Imports the files from the exportPanda.m
file.
importPandaMatlab(dir = getwd(), celldata = "celldata.dat")
dir |
Working directory to search for the numeric files. |
celldata |
Name of the 'celldata.dat' file. |
Two column vector of "regulator" and "target"
# determine gene degree
pandaFiles = importPandaMatlab()
indegree <- ddply(pandaFiles[,2:ncol(pandaFiles)], .(targer), numcolwise(sum))
row.names(indegree) <- indegree[,1]
indegree <- indegree[,-1]
# to export the file
networkfiles = list.files(pattern="numeric")
write.table(indegree,paste("indegree_",networkfiles,sep=""),
sep="\t",quote=F,row.names=T,col.names=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.