wencke / wencke.github.io

GOplot
19 stars 7 forks source link

Error in Example of vignette #5

Open mominchen opened 7 years ago

mominchen commented 7 years ago

Hi, I just got this error by using the following command of your vignette: (running package version: 1.0.2)

GOChord(chord, space = 0.02, gene.order = 'logFC', gene.space = 0.25, gene.size = 5) Error: Aesthetics must be either length 1 or the same as the data (55952): x, y, group, fill

Additional errors:

1: In min(df_genes$logFC) : no argument for min; return Inf 2: In max(df_genes$logFC) : no argument for max; return -Inf 3: In min(df_genes$logFC) : no argument for min; return Inf 4: In max(df_genes$logFC) : no argument for max; return -Inf 5: Using size for a discrete variable is not advised.

Would be glad to know how I can fix this. Thanks in advance

NINNA74 commented 7 years ago

A line is missing in the demo guide the complete command is:

chord <- chord_dat(data = circ, genes = EC$genes, process = EC$process) GOChord(chord, space = 0.02, gene.order = 'logFC', gene.space = 0.25, gene.size = 5)