Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate the plot and table? #11

Open
StromTroopers opened this issue May 13, 2018 · 1 comment
Open

How to generate the plot and table? #11

StromTroopers opened this issue May 13, 2018 · 1 comment

Comments

@StromTroopers
Copy link

StromTroopers commented May 13, 2018

HI, I'm actually trying to use your programm but I'm little vit stuck..
I already have generated the .jon file by doing:

And used this script:

<html>
<head>
    <title>assembly stats</title>
  </head>
  <body>
    <link rel="stylesheet" type="text/css" href="css/circle-plot.css">
    <link rel="stylesheet" type="text/css" href="css/square-plot.css">
    <link rel="stylesheet" type="text/css" href="css/table.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
    <script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
    <script src="http://labratrevenge.com/d3-tip/javascripts/d3.tip.v0.6.3.js"></script>
    <script type="text/javascript" src="js/circle-plot.js"></script>
    <script type="text/javascript" src="js/square-plot.js"></script>
    <script type="text/javascript" src="js/table.js"></script>
    <div id="assembly_stats">
    <script>
      d3.json("output.json", function(error, json) {
        if (error) return console.warn(error);
        asm = new Assembly (json);
        asm.drawPlot('assembly_stats');
        asm.drawTable('assembly_stats');
        asm.toggleVisible(['asm-longest_pie','asm-count']);
        
      })
    </script>

  </body>
</html>

But only the plot is here, there is not the table.

And also, I have busco output, how could I had these information into the plot?

Thanks for your help;

@sanjaysingh765
Copy link

sanjaysingh765 commented Jul 26, 2019

I think you forgot to add the alternate view in your url. I don't know the exact case of your but adding following code to your url should work.

&view=circle&altView=cumulative&altView=table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants