Im trying to analyze a 412 by 31 matrix with the DriverNet package, however,
Im constantly getting that error. The code for DriverNet is straightforward:
Usage
computeDrivers(patMutMatrix, patOutMatrix, influenceGraph, outputFolder = NULL, printToConsole = FALSE, weighted = FALSE)
So, a matrix is created first from a table (412 x 31):
mydata<-read.table(file="Driver.txt", row.name = 1, header=TRUE, sep="\t")
mymatrix <-as.matrix(mydata, nrow = 412, ncol = 31)
computeDrivers(patMutMatrix = mymatrix, patOutMatrix= mymatrix, influenceGraph=mymatrix, outputFolder = NULL,
Error in G[i, ] : subscript out of bounds
Thanks again,