~ubuntu-branches/ubuntu/natty/python-cogent/natty

« back to all changes in this revision

Viewing changes to doc/examples/perform_PCoA_analysis.rst

  • Committer: Bazaar Package Importer
  • Author(s): Steffen Moeller
  • Date: 2010-12-04 22:30:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101204223035-j11kinhcrrdgg2p2
Tags: 1.5-1
* Bumped standard to 3.9.1, no changes required.
* New upstream version.
  - major additions to Cookbook
  - added AlleleFreqs attribute to ensembl Variation objects.
  - added getGeneByStableId method to genome objects.
  - added Introns attribute to Transcript objects and an Intron class.
  - added Mann-Whitney test and a Monte-Carlo version
  - exploratory and confirmatory period estimation techniques (suitable for
    symbolic and continuous data)
  - Information theoretic measures (AIC and BIC) added
  - drawing of trees with collapsed nodes
  - progress display indicator support for terminal and GUI apps
  - added parser for illumina HiSeq2000 and GAiix sequence files as 
    cogent.parse.illumina_sequence.MinimalIlluminaSequenceParser.
  - added parser to FASTQ files, one of the output options for illumina's
    workflow, also added cookbook demo.
  - added functionality for parsing of SFF files without the Roche tools in
    cogent.parse.binary_sff
  - thousand fold performance improvement to nmds
  - >10-fold performance improvements to some Table operations

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
.. doctest::
29
29
 
30
30
    >>> d = distance.EstimateDistances(al, submodel= HKY85())
31
 
    >>> d.run(show_progress=False)
 
31
    >>> d.run()
32
32
 
33
33
Now use this matrix to perform principal coordinates analysis.
34
34
 
39
39
    ======================================================================================
40
40
            Type              Label  vec_num-0  vec_num-1  vec_num-2  vec_num-3  vec_num-4
41
41
    --------------------------------------------------------------------------------------
42
 
    Eigenvectors          NineBande      -0.02       0.01      -0.04       0.01       0.00
43
 
    Eigenvectors           DogFaced      -0.04      -0.06       0.01       0.00       0.00
44
 
    Eigenvectors          HowlerMon      -0.07       0.01      -0.01      -0.02       0.00
45
 
    Eigenvectors              Mouse       0.20       0.01       0.01      -0.00       0.00
46
 
    Eigenvectors              Human      -0.07       0.04       0.03       0.01       0.00
 
42
    Eigenvectors          NineBande      -0.02       0.01       0.04       0.01       0.00
 
43
    Eigenvectors           DogFaced      -0.04      -0.06      -0.01       0.00       0.00
 
44
    Eigenvectors          HowlerMon      -0.07       0.01       0.01      -0.02       0.00
 
45
    Eigenvectors              Mouse       0.20       0.01      -0.01      -0.00       0.00
 
46
    Eigenvectors              Human      -0.07       0.04      -0.03       0.01       0.00
47
47
     Eigenvalues        eigenvalues       0.05       0.01       0.00       0.00      -0.00
48
48
     Eigenvalues  var explained (%)      85.71       9.60       3.73       0.95      -0.00
49
49
    --------------------------------------------------------------------------------------
54
54
 
55
55
    >>> PCoA_result.writeToFile('PCoA_results.txt',sep='\t')
56
56
 
57
 
Cleanup
58
 
-------
59
 
 
60
 
We don't actually want to keep that file now, so I'm importing the ``os`` module to delete it.
 
57
..
 
58
    We don't actually want to keep that file now, so I'm importing the ``os`` module to delete it.
61
59
 
62
60
.. doctest::
63
61