subPairs: scatterplots of sample-templates distances

Description Usage Arguments Details Value Note See Also Examples

View source: R/subPairs.R

Description

Pairwise sample-templates distance plots with samples colored according to predicted class.

Usage

1
subPairs(res, classCol = getOption("subClassCol"))

Arguments

res

a data frame, result from ntp function.

classCol

a character vector specifying class colors

Details

Upper-panels show the Pearson correlations between sample-templates distances. Diagonal panels show class and histogram of distances. The vertical, dashed lines are the distance between two uncorrelated vectors.

Value

a panel of plots of pair-wise template-distances.

Note

smaller distances indicate more similar samples.

See Also

ntp, corCosine, pairs

Examples

1
2
 res <- CMScaller(crcTCGAsubset, nPerm=1000, RNAseq=TRUE)
 subPairs(res)

peterawe/CMScaller documentation built on June 13, 2020, 4:49 a.m.