public interface SVDReadCountPanelOfNormals
Modifier and Type | Method and Description |
---|---|
default SVDDenoisedCopyRatioResult |
denoise(SimpleCountCollection readCounts,
int numEigensamples)
Standardizes and denoises
readCounts using numEigensamples of the eigensamples. |
double[][] |
getEigensampleVectors()
Returns a modifiable copy of an array containing the orthnonormal matrix of eigensample vectors.
|
int |
getNumEigensamples()
Returns the number of eigensamples.
|
double[] |
getOriginalIntervalGCContent()
Returns a modifiable copy of an array containing the GC content of the original intervals
(in the same order as in
getOriginalIntervals() ). |
java.util.List<SimpleInterval> |
getOriginalIntervals()
Returns a modifiable copy of the list of the original intervals that were used to build this PoN
(no filtering will have been applied).
|
double[][] |
getOriginalReadCounts()
Returns a modifiable copy of the original matrix of integer read-counts (represented as doubles) used to build the PoN
(no filtering will have been applied).
|
double[] |
getPanelIntervalFractionalMedians()
Returns a modifiable copy of an array containing the median (across all samples, before filtering)
of the fractional coverage at each panel interval (in the same order as in
getPanelIntervals() ). |
java.util.List<SimpleInterval> |
getPanelIntervals()
Returns a modifiable copy of the list of the intervals contained in this PoN after all filtering has been applied.
|
htsjdk.samtools.SAMSequenceDictionary |
getSequenceDictionary()
Returns the sequence dictionary common to all of the read counts used to build the PoN.
|
double[] |
getSingularValues()
Returns a modifiable copy of an array of the singular values of the eigensamples in decreasing order.
|
double |
getVersion()
Returns the PoN version.
|
double getVersion()
int getNumEigensamples()
htsjdk.samtools.SAMSequenceDictionary getSequenceDictionary()
double[][] getOriginalReadCounts()
M_original x N_original
,
where M_original
is the number of original intervals and N_original
is the number of
original samples.java.util.List<SimpleInterval> getOriginalIntervals()
M_original
.double[] getOriginalIntervalGCContent()
getOriginalIntervals()
). This array has length M_original
.java.util.List<SimpleInterval> getPanelIntervals()
M
.double[] getPanelIntervalFractionalMedians()
getPanelIntervals()
).
This is used to standardize samples. This array has length M
.double[] getSingularValues()
K
.java.lang.UnsupportedOperationException
- if the panel only contains a single sample
or if no eigensamples were requested upon panel creationdouble[][] getEigensampleVectors()
M x K
,
where M
is the number of panel intervals (after filtering)
and K
is the number of eigensamples.
Columns are sorted by singular value in decreasing order.java.lang.UnsupportedOperationException
- if the panel only contains a single sample
or if no eigensamples were requested upon panel creationdefault SVDDenoisedCopyRatioResult denoise(SimpleCountCollection readCounts, int numEigensamples)
readCounts
using numEigensamples
of the eigensamples.
If no eigensamples are available, the denoised output should be identical to the standardized output.