Closed earm825 closed 4 years ago
Hi, I have created data frames that are the same as the one provided by your examples, they are as follows:
head(david) category ID term adj_pval 1 BP GO:0006508 proteolysis 0.001015212 2 MF GO:0004505 phenylalanine 4-monooxygenase activity 0.003618003 3 MF GO:0030247 polysaccharide binding 0.005318246 4 MF GO:0008239 dipeptidyl-peptidase activity 0.006913672 5 BP GO:0006955 immune response 0.007907270 6 MF GO:0003896 DNA primase activity 0.010174163 genes 1 TRINITY_DN26608_c2_g3_i3, TRINITY_DN26853_c0_g2_i1, TRINITY_DN27859_c1_g3_i4, TRINITY_DN34671_c0_g1_i1, TRINITY_DN50480_c0_g1_i1, TRINITY_DN52181_c0_g1_i1, TRINITY_DN9369_c0_g1_i2 2 TRINITY_DN26570_c0_g1_i1 3 TRINITY_DN15437_c0_g1_i1, TRINITY_DN29630_c1_g7_i2 4 TRINITY_DN50480_c0_g1_i1 5 TRINITY_DN15437_c0_g1_i1, TRINITY_DN29630_c1_g7_i2 6 TRINITY_DN13268_c0_g1_i1 head(genelist) ID logFC 1 TRINITY_DN10780_c0_g1_i1 -3.626361 2 TRINITY_DN12191_c0_g1_i1 -7.013464 3 TRINITY_DN13268_c0_g1_i1 -4.073738 4 TRINITY_DN13590_c0_g1_i1 -4.910474 5 TRINITY_DN15437_c0_g1_i1 4.304745 6 TRINITY_DN18979_c0_g1_i1 4.652789
head(david) category ID term adj_pval 1 BP GO:0006508 proteolysis 0.001015212 2 MF GO:0004505 phenylalanine 4-monooxygenase activity 0.003618003 3 MF GO:0030247 polysaccharide binding 0.005318246 4 MF GO:0008239 dipeptidyl-peptidase activity 0.006913672 5 BP GO:0006955 immune response 0.007907270 6 MF GO:0003896 DNA primase activity 0.010174163 genes 1 TRINITY_DN26608_c2_g3_i3, TRINITY_DN26853_c0_g2_i1, TRINITY_DN27859_c1_g3_i4, TRINITY_DN34671_c0_g1_i1, TRINITY_DN50480_c0_g1_i1, TRINITY_DN52181_c0_g1_i1, TRINITY_DN9369_c0_g1_i2 2 TRINITY_DN26570_c0_g1_i1 3 TRINITY_DN15437_c0_g1_i1, TRINITY_DN29630_c1_g7_i2 4 TRINITY_DN50480_c0_g1_i1 5 TRINITY_DN15437_c0_g1_i1, TRINITY_DN29630_c1_g7_i2 6 TRINITY_DN13268_c0_g1_i1
head(genelist) ID logFC 1 TRINITY_DN10780_c0_g1_i1 -3.626361 2 TRINITY_DN12191_c0_g1_i1 -7.013464 3 TRINITY_DN13268_c0_g1_i1 -4.073738 4 TRINITY_DN13590_c0_g1_i1 -4.910474 5 TRINITY_DN15437_c0_g1_i1 4.304745 6 TRINITY_DN18979_c0_g1_i1 4.652789
However when I run the code: circ <- circle_dat(genelist, david)
I get this error: Error in $<-.data.frame(*tmp*, "genes", value = character(0)) : replacement has 0 rows, data has 42
$<-.data.frame
*tmp*
I have also tried this with the EC data supplied by the package and get the same error again.
circ <- circle_dat(EC$genelist, EC$david) Error in $<-.data.frame(*tmp*, "genes", value = character(0)) : replacement has 0 rows, data has 2039
Is anyone able to explain why I might be getting this error and how to fix it?
Thank you.
Hi, I have created data frames that are the same as the one provided by your examples, they are as follows:
However when I run the code: circ <- circle_dat(genelist, david)
I get this error: Error in
$<-.data.frame
(*tmp*
, "genes", value = character(0)) : replacement has 0 rows, data has 42I have also tried this with the EC data supplied by the package and get the same error again.
circ <- circle_dat(EC$genelist, EC$david) Error in
$<-.data.frame
(*tmp*
, "genes", value = character(0)) : replacement has 0 rows, data has 2039Is anyone able to explain why I might be getting this error and how to fix it?
Thank you.