Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

traceplot

Draw nucleotide trace plots

Syntax

traceplot(TraceStructure)
traceplot(A, C, G, T)
h = traceplot(...)

Description

traceplot(TraceStructure) creates a trace plot from data in a structure with fields A, C, G, and T.

traceplot(A, C, G, T) creates a trace plot from data in vectors A, C, G, and T.

h = traceplot(...) returns a structure with the handles of the lines corresponding to A, C, G, T.

Examples

  1. Read trace data from an SCF-formatted file into a MATLAB® structure.

    tstruct = scfread('sample.scf')
    
    tstruct = 
    
        A: [10827x1 double]
        C: [10827x1 double]
        G: [10827x1 double]
        T: [10827x1 double]
  2. Draw a nucleotide trace plot of the data.

    traceplot(tstruct)

See Also

Introduced before R2006a

Was this topic helpful?