Skip to content

Commit 556410a

Browse files
committed
Spelling
1 parent 72319d6 commit 556410a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

viz.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ ts_full = tskit.load("data/viz_ts_full.trees")
114114

115115
If you just want a quick look at visualization possibilities, you might want to skip
116116
the explanations and just browse some {ref}`sec_tskit_viz_examples`, which contain fully
117-
reproduceable code.
117+
reproducible code.
118118

119119
:::{note}
120120
This tutorial is primarily focussed on showing a tree sequence as a set of marginal
@@ -204,7 +204,7 @@ which will be used in most subsequent examples in this tutorial.
204204
So far, we have plotted only very small tree sequences. To visualize larger tree
205205
sequences it is sometimes advisable to focus on a small region of the genome, possibly
206206
even a single tree. The `x_lim` parameter allows you to plot the part of a tree
207-
sequence that spans a particular genomic region: here's a slighly larger tree sequence
207+
sequence that spans a particular genomic region: here's a slightly larger tree sequence
208208
with 8 samples, but where we've restricted the amount of the tree sequence we plot:
209209

210210
```{code-cell} ipython3
@@ -338,7 +338,7 @@ tree3.draw_svg(
338338

339339
### Labelling and annotation
340340

341-
Although the default node and mutation labels show unique identifiers, they are't
341+
Although the default node and mutation labels show unique identifiers, they aren't
342342
terribly intuituive. The `node_labels` and `mutation_labels` parameters can be used
343343
to set more meaningful labels (for example from the tree sequence {ref}`sec_metadata`).
344344
See {ref}`sec_tskit_viz_dynamic_effects` if you want to dynamically hide and show such
@@ -642,7 +642,7 @@ Elements have additional classes based on the IDs of trees, edges, nodes,
642642
parent (ancestor) nodes, individuals, populations, mutations, and sites.
643643
These class names start with a single letter (respectively
644644
`t`, `e`, `n`, `a`, `i`, `p`, `m`, and `s`) followed by a
645-
numerical ID. For example, here's a typical node in an tskit SVG plot:
645+
numerical ID. For example, here's a typical node in a tskit SVG plot:
646646

647647
```
648648
<g class="a10 i3 leaf m16 m17 node n7 p2 s15 s16 sample">...</g>
@@ -652,7 +652,7 @@ This corresponds to node 7, the rightmost leaf in the third tree in the mutated
652652
sequence (plotted in the previous section but one). The classes indicate that it
653653
has an immediate ancestor (parent) node with ID 10 (`a10`), and that the node
654654
belongs to an {ref}`individual <sec_nodes_or_individuals>` with ID 3 (`i3`).
655-
The classes `n7` and `p2` tell us that the node ID is 7 and is is from the
655+
The classes `n7` and `p2` tell us that the node ID is 7 and is from the
656656
population with ID 2 (`p2`). Other ID classes on the node tell us about the mutations
657657
above that node, of which there are two in this case, with
658658
IDs 16 and 17 (`m16`, `m17`); those mutations are associated with
@@ -1435,7 +1435,7 @@ It is common to want to visualise a tree sequence with many samples and trees. I
14351435
are many trees, the `max_num_trees` parameter can be used to just show those at the start
14361436
and end of the genome. To reduce the size of each tree, multiple samples can be clustered
14371437
into a single representative clade. If that clade has the same set of descendant samples
1438-
throughout the tree sequence, {ref}`sec_simplification` can be used to to turn the MRCA
1438+
throughout the tree sequence, {ref}`sec_simplification` can be used to turn the MRCA
14391439
of these samples into a sample node itself, while removing the original descendants.
14401440
By using the scaling and masking method described in
14411441
{ref}`sec_tskit_viz_styling_transforming_and_masking` this summary MRCA can be shown

0 commit comments

Comments
 (0)