Entering edit mode
2 hours ago
thasweer
•
0
Hi,
I am performing a network analysis using ARACNe-AP. I was able to generate the consolidated network .txt file with 3 columns. Expression dataset matrix also available. While performing aracne2regulon function in viper R package as recommended by the authors,
my_regulon <- aracne2regulon(afile = "bootstrap_network_regulon.txt",eset = eset, format = "3col")
**following error was shown.**
Loading the dataset...
Generating the regulon objects...
Error in tapply(1:nrow(tmp), as.vector(tmp$tf), function(pos, tmp) { :
arguments must have same length
In addition: Warning messages:
1: In data.frame(tf = factor(tmp[, 1]), target = factor(tmp[, 2]), :
NAs introduced by coercion
2: In data.frame(tf = factor(tmp[, 1]), target = factor(tmp[, 2]), :
NAs introduced by coercion.
I tried to subset the gene expression matrix and re-do the analysis. It showed the same error. Please help me solve this error.
Thanks in Advance.