
dba.plotPCA(DBA, attributes, minval, maxval, contrast, method=DBA$config$AnalysisMethod, th=DBA$config$th, bUsePval=DBA$config$bUsePval, report, score, bLog=TRUE, mask, sites, label, cor=FALSE, b3D=FALSE, vColors, dotSize, labelSize, labelCols, ...)
Note that DBA_GROUP is a special attribute which will result in samples from each group in a contrast being colored separately.
dba.analyze
). If mask is unspecified, only the samples in the contrast will be included. See dba.show(DBA, bContrast=T)
to get contrast numbers. If missing, uses scores in the main binding matrix.
dba.report
) specifying the data to be used . If this is present, the method, th, and bUsePval parameters are ignored.
dba.mask
.
attributes
parameter.
MODE: PCA plot using significantly differentially bound sites:
dba.plotPCA(DBA, attributes, minval, maxval, contrast, method, th, bUsePval, b3D=F, vColors, dotSize, ...)
MODE: PCA plot using global binding matrix:
dba.plotPCA(DBA, attributes, minval, maxval, mask, sites, b3D=F, vColors, dotSize, ...)
dba.analyze
, dba.plotHeatmap
data(tamoxifen_peaks)
# peakcaller scores PCA
dba.plotPCA(tamoxifen)
# raw count correlation PCA
data(tamoxifen_analysis)
dba.plotPCA(tamoxifen)
#PCA based on normalized data for all sites
dba.plotPCA(tamoxifen,contrast=1,th=1)
#PCA based on DB sites only
p <- dba.plotPCA(tamoxifen,contrast=1)
p <- dba.plotPCA(tamoxifen,contrast=1,attributes=DBA_TISSUE)
p <- dba.plotPCA(tamoxifen,contrast=1,attributes=DBA_TISSUE,label=DBA_CONDITION)
p <- dba.plotPCA(tamoxifen,contrast=1,attributes=DBA_CONDITION,label=DBA_TISSUE)
p <- dba.plotPCA(tamoxifen,contrast=1,attributes=c(DBA_TISSUE,DBA_CONDITION),
label=DBA_REPLICATE)
Run the code above in your browser using DataLab