PCanalysis:
PC analysis on numerical DNA sequences
Description
Performs a PC analysis of numerical DNA sequences, using the pcaMethods package and projects the studied DNA sequence to the subspace. The Q-residuals (euclidean distance between the sequences and the modeled subspace) of the DNA studied sequence are returned as output.
Usage
PCanalysis(TFBS, nPCs, Sequences)
Arguments
TFBS
DNA numerical matrix of known TFBS
nPCs
Number of principal components used to build the model
Sequences
numerical matrix of DNA sequences to study (converted as a numerical matrix)
Value
residus: Euclidean distance from the studied sequences to the modeled motif