assembly-stats
assembly-stats copied to clipboard
How to generate the plot and table?
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;
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