Quantcast

Documentation Center

  • Trial Software
  • Product Updates

plotPerPositionGC

Class: BioReadQualityStatistics

Plot percentages of G or C nucleotides at each base position

Syntax

plotPerPositionGC(QSObj)
H = plotPerPositionGC(QSObj)

Description

plotPerPositionGC(QSObj) generates a line plot displaying the percentages of G or C nucleotides at each base position for the BioReadQualityStatistics object QSObj.

H = plotPerPositionGC(QSObj) returns the handle H to the axes object containing the generated plot.

Input Arguments

QSObj

BioReadQualityStatistics object.

Output Arguments

H

Handle to axes object containing generated plot.

Examples

Plot Percentages of G or C Nucleotide

Create a BioReadQualityStatistics object from a FASTQ file using only the first 40 characters of each read with a minimum average quality score of 5.

QSObj = BioReadQualityStatistics('SRR005164_1_50.fastq', 'FilterLength', 40, 'QualityScoreThreshold', 5);

Plot percentages of G or C nucleotide at each base position.

plotPerPositionGC(QSObj)

See Also

| | |

Was this topic helpful?