Hi every one,
Wen I run the following command, I got the error information as follows:
> fc.kegg.p <- gage(exp.fc, gsets = kegg.gs, ref = NULL, samp = NULL)
Error in if (is.na(spval[i])) tmp[i] <- NA : argument is of length zero
Was it because I analyzed upregulated and downregulated genes at the same time, because the FCs for downregulated genes were negative?
Or, it is the problem of exp.fc file, because it is not a dataframe with the only column for FCs and the rows for GB number, but the first row is GB number, and the second is its corresponding FC value.
Thanks!!!
Richard
Wen I run the following command, I got the error information as follows:
> fc.kegg.p <- gage(exp.fc, gsets = kegg.gs, ref = NULL, samp = NULL)
Error in if (is.na(spval[i])) tmp[i] <- NA : argument is of length zero
Was it because I analyzed upregulated and downregulated genes at the same time, because the FCs for downregulated genes were negative?
Or, it is the problem of exp.fc file, because it is not a dataframe with the only column for FCs and the rows for GB number, but the first row is GB number, and the second is its corresponding FC value.
Thanks!!!
Richard
Comment