Skip to content

Commit

Permalink
DOC: tutorial (mention symmetricity of SDPs, etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko committed Sep 12, 2023
1 parent e6e8a8e commit 3999635
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,11 @@
"\n",
"Just for demonstration, let's see how palindromic $k$-mers look in these visualizations. Note that palindromic $k$-mers can only occur for even values of $k$ (see [this discussion](https://bioinformatics.stackexchange.com/q/156) for details).\n",
"\n",
"We'll create a \"self dot plot,\" in which both the horizontal and vertical axes of the dot plot matrix correspond to the same sequence (named `s3` below). \"Self dot plots\" like this one can be helpful for visualizing self-similarity; for another example of a self dot plot, see [this visualization](https://commons.wikimedia.org/wiki/File:Zinc-finger-dot-plot.png) from [this Wikipedia page](https://en.wikipedia.org/wiki/Dot_plot_(bioinformatics))."
"We'll create a \"self dot plot,\" in which both the horizontal and vertical axes of the dot plot matrix correspond to the same sequence (named `s3` below). \"Self dot plots\" like this one can be helpful for visualizing self-similarity; for another example of a self dot plot, see [this visualization](https://commons.wikimedia.org/wiki/File:Zinc-finger-dot-plot.png) from [this Wikipedia page](https://en.wikipedia.org/wiki/Dot_plot_(bioinformatics)).\n",
"\n",
"#### Sidenote: Aren't \"self dot plots\" like this symmetric?\n",
"\n",
"Yep! Exactly _how_ your self dot plot is symmetric will depend on the `yorder` of your `wotplot.DotPlotMatrix` (see below), but all self dot plots will be symmetric in some way. If you wanted, you could only visualize one \"triangle\" of a self dot plot matrix; see [ModDotPlot](https://github.com/marbl/ModDotPlot) for an example of doing this."
]
},
{
Expand Down Expand Up @@ -764,10 +768,10 @@
},
{
"cell_type": "markdown",
"id": "4fd86b3e",
"id": "ecbf41bf",
"metadata": {},
"source": [
"## 3.1. Tiling multiple dot plots\n",
"## 3.1. Tiling multiple dot plots; flipping the y-axis\n",
"\n",
"One of the main reasons I wrote this library was so that I could create figures containing grids of many dot plots using matplotlib. wotplot makes this process fairly painless!\n",
"\n",
Expand Down

0 comments on commit 3999635

Please sign in to comment.