plotTotalGC

Class: BioReadQualityStatistics

Plot distribution of all nucleotides of short-read sequences

Syntax

plotTotalGC(QSObj)
H = plotTotalGC(QSObj)

Description

plotTotalGC(QSObj) plots the distribution of all nucleotides of short-read sequences in the BioReadQualityStatistics object QSObj.

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

Input Arguments

QSObj

BioReadQualityStatistics object.

Output Arguments

H

Handle to axes object containing generated plot.

Examples

expand all

Plot Distribution of All Nucleotides

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);

Display the distribution of all nucleotides.

plotTotalGC(QSObj);

Was this topic helpful?