checkMisAnnotation: Check for wrong annotation of a sample using classical MDS...

Description Usage Arguments Value Examples

View source: R/checkMisAnnotation.R

Description

Check for wrong annotation of a sample using classical MDS and control genes.

Usage

1
2
3
checkMisAnnotation(obj, phenotype, controlGenes = "all",
  columnID = "chromosome_name", plotFlag = TRUE,
  legendPosition = NULL, ...)

Arguments

obj

ExpressionSet object.

phenotype

phenotype column name in the phenoData slot to check.

controlGenes

Name of controlGenes, ie. 'Y' chromosome. Can specify 'all'.

columnID

Column name where controlGenes is defined in the featureData slot if other than 'all'.

plotFlag

TRUE/FALSE Whether to plot or not

legendPosition

Location for the legend.

...

Extra parameters for plotCMDS function.

Value

Plots a classical multi-dimensional scaling of the 'controlGenes'. Optionally returns co-ordinates.

Examples

1
2
data(bladder)
checkMisAnnotation(bladder,'GENDER',controlGenes='Y',legendPosition='topleft')

yarn documentation built on Nov. 8, 2020, 7:50 p.m.