Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

77 sparseoptimization pattern discrepancy #125

Draft
wants to merge 1,601 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1601 commits
Select commit Hold shift + click to select a range
42c6616
wip
jeanettejohnson Mar 21, 2023
405625d
wip
jeanettejohnson Mar 21, 2023
2fc8797
wip
jeanettejohnson Mar 21, 2023
8caf50f
wip
jeanettejohnson Mar 21, 2023
3ba9d8a
wip
jeanettejohnson Mar 21, 2023
3a265e8
wip
jeanettejohnson Mar 21, 2023
9d1e116
wip
jeanettejohnson Mar 21, 2023
81ce216
Update README.md
jeanettejohnson Mar 21, 2023
daed777
wip
jeanettejohnson Mar 21, 2023
1938da1
fiddling
jeanettejohnson Mar 22, 2023
85e3d81
monocle pdac epi object for development
jeanettejohnson Mar 22, 2023
6da50ca
fiddling
jeanettejohnson Mar 22, 2023
c50995d
skeletons of csv API functions
jeanettejohnson Mar 22, 2023
263ec0e
modsim reference result
jeanettejohnson Mar 22, 2023
ebee621
write/save csv functions
jeanettejohnson Mar 22, 2023
bbdb8f3
csv functions
jeanettejohnson Mar 21, 2023
4fdba7e
wip
jeanettejohnson Mar 21, 2023
1683fab
Update README.md
jeanettejohnson Mar 21, 2023
2637a9d
wip
jeanettejohnson Mar 21, 2023
597e364
fiddling
jeanettejohnson Mar 22, 2023
2034f4d
monocle pdac epi object for development
jeanettejohnson Mar 22, 2023
32f939a
fiddling
jeanettejohnson Mar 22, 2023
983af61
skeletons of csv API functions
jeanettejohnson Mar 22, 2023
2cef5e4
modsim reference result
jeanettejohnson Mar 22, 2023
cfcf210
write/save csv functions
jeanettejohnson Mar 22, 2023
fec7d03
wip
jeanettejohnson Mar 21, 2023
4660285
wip
jeanettejohnson Mar 22, 2023
ea0ec3f
MANOVA API skeleton
jeanettejohnson Mar 22, 2023
be450db
manova api fxn
jeanettejohnson Mar 22, 2023
874156a
tangling
jeanettejohnson Mar 18, 2023
3074545
wip manova vignette
jeanettejohnson Mar 21, 2023
27a90d7
MANOVA API skeleton
jeanettejohnson Mar 22, 2023
ba7160e
manova api fxn
jeanettejohnson Mar 22, 2023
32000e6
wip
jeanettejohnson Mar 21, 2023
0ac2cbc
wip
jeanettejohnson Mar 21, 2023
559a135
manova wip
jeanettejohnson Mar 21, 2023
67b0658
manova
jeanettejohnson Mar 29, 2023
ea5c909
manova
jeanettejohnson Mar 29, 2023
ce23059
wip
jeanettejohnson Mar 21, 2023
51339f6
wip
jeanettejohnson Mar 20, 2023
29a96fb
remove accidental duplicate code
jeanettejohnson Mar 29, 2023
73a76d3
add imports to fix broken build
jeanettejohnson Apr 3, 2023
e99d6ef
add imports to fix bioc build
jeanettejohnson Apr 3, 2023
b49bab1
unbreak build
jeanettejohnson Apr 10, 2023
9a33931
unlfs
jeanettejohnson May 24, 2023
51cd234
declutter
jeanettejohnson May 24, 2023
6861e5b
bump x.y.z version to even y prior to creation of RELEASE_3_17 branch
jwokaty Jul 11, 2023
f82f893
bump x.y.z version to odd y following creation of RELEASE_3_17 branch
jwokaty Jul 11, 2023
dbb0019
increase timeout limit for zenodo download
jeanettejohnson Aug 2, 2023
affd2f3
increase timeout limit for zenodo download again
jeanettejohnson Aug 4, 2023
8d6d543
vignette
jeanettejohnson Mar 21, 2023
819a7ed
use same data source for vignette here and in bioconductor
dimalvovs Sep 7, 2023
917209f
rm obsolete code from vignette
dimalvovs Sep 8, 2023
a1224e6
Merge pull request #73 from FertigLab/72-package-build-fails-on-master
dimalvovs Sep 11, 2023
e944862
converge bioc and git repos
dimalvovs Sep 15, 2023
f1ac585
rm debug file from the main branch
dimalvovs Sep 18, 2023
87b4865
change from knittr to rmarkdown (fix R CMD check error)
dimalvovs Sep 18, 2023
124b43e
fix download on Win platform
dimalvovs Sep 19, 2023
215e9f2
rm version from readme to avoid confusion
dimalvovs Sep 19, 2023
93f8732
bump version and add maintainer
dimalvovs Sep 19, 2023
1c62921
warnings - remove debug files
dimalvovs Sep 25, 2023
2d67f9f
replace ModSimData with one in R format
dimalvovs Sep 25, 2023
2a7588b
add man for modsimdata
dimalvovs Sep 25, 2023
518c9da
update roxygen docs
dimalvovs Sep 25, 2023
756366f
add data definition file
dimalvovs Sep 25, 2023
e5afa69
propagate data.r to DESCRIPTION
dimalvovs Sep 25, 2023
0d3d602
convert modsimresult to rda
dimalvovs Sep 25, 2023
de37080
rm unused files from /data
dimalvovs Sep 25, 2023
6688b9d
fix data source for vignette
dimalvovs Sep 26, 2023
d3c6bd6
bump version
dimalvovs Sep 26, 2023
0ad4d85
fix download bug and knitr
dimalvovs Sep 27, 2023
c7c8299
move back to knitr to fix bug introduced in #74
dimalvovs Sep 27, 2023
3a836c2
wb mode throughout the file to fix win build
dimalvovs Sep 27, 2023
f8d1e90
Merge branch '74-bioconductor-nightly-build-fails-on-windows-platform…
dimalvovs Sep 27, 2023
a4bcb09
fix check error in bioc
dimalvovs Oct 2, 2023
6eb3b6c
harmonize checkpointInFile -> checkpointFile
dimalvovs Oct 2, 2023
5cb56a9
fix remaining warnings
dimalvovs Oct 5, 2023
f61ac92
update imports
dimalvovs Oct 5, 2023
a37904b
add missing imports
dimalvovs Oct 5, 2023
0ded411
bump version
dimalvovs Oct 5, 2023
c4ece06
change formet type to the one made for size_t
dimalvovs Oct 10, 2023
4118fd6
bump x.y.z version to even y prior to creation of RELEASE_3_18 branch
jwokaty Oct 24, 2023
b0c6417
bump x.y.z version to odd y following creation of RELEASE_3_18 branch
jwokaty Oct 24, 2023
d4fd1a8
change the way pattern name list is generated
Jan 11, 2024
bd28167
Create r-build-check.yml
dimalvovs Jan 15, 2024
1ab0e08
add patterMarkers-all test
dimalvovs Jan 15, 2024
9597ade
cache zenodo downloads
dimalvovs Jan 17, 2024
63fd1b0
cache second download
dimalvovs Jan 17, 2024
e02abcc
name the unnamed
dimalvovs Jan 17, 2024
6db169d
Merge pull request #79 from FertigLab/dimalvovs-patch-1
jeanettejohnson Jan 18, 2024
241867b
Merge pull request #81 from FertigLab/80-cache-downloads-for-vignette
jeanettejohnson Jan 18, 2024
5b325d3
merge bioconductor
dimalvovs Jan 26, 2024
a75556d
merge and bump
dimalvovs Feb 1, 2024
01b94a8
Update r-build-check.yml
dimalvovs Feb 1, 2024
c024b37
add BiocFileCache
dimalvovs Feb 1, 2024
063d45c
try replace line endings
dimalvovs Feb 1, 2024
8fbffb3
merge grom github
dimalvovs Feb 1, 2024
0d193ba
try replacing eol again
dimalvovs Feb 1, 2024
b73930e
Update r-build-check.yml
dimalvovs Feb 1, 2024
9db07ca
Update README.md
dimalvovs Feb 2, 2024
ac465af
Update README.md
dimalvovs Feb 2, 2024
2e85d21
Update README.md
dimalvovs Feb 2, 2024
5e4855d
Update README.md
dimalvovs Feb 2, 2024
7039826
Update README.md
dimalvovs Feb 2, 2024
9ad7c25
Update README.md
dimalvovs Feb 2, 2024
c1b0652
Merge pull request #84 from FertigLab/83-limit-number-of-cores-for-tests
dimalvovs Feb 8, 2024
9094d23
bump
dimalvovs Feb 8, 2024
5077e3f
extend tests
dimalvovs Mar 22, 2024
1dbae3d
remove gene printing, cleanup
dimalvovs Mar 22, 2024
3d4b53b
bump version
dimalvovs Mar 22, 2024
92da73e
Merge branch 'master' into patternmarkers-all-bugfix
dimalvovs Mar 22, 2024
5fc3cc5
Merge pull request #78 from FertigLab/patternmarkers-all-bugfix
dimalvovs Mar 22, 2024
2616875
initial getPatternGeneSet
jmitchell81 Apr 3, 2024
1485a94
initial GSEA
jmitchell81 Apr 3, 2024
7b76947
params for internal patternMarkers call
jmitchell81 Apr 4, 2024
ad8b720
"padj" replacing "q-value"
jmitchell81 Apr 5, 2024
8d53ccc
"PatternHallmark" to "PatternGeneSet"
jmitchell81 Apr 5, 2024
abe2da8
fct_order gene sets by significance
jmitchell81 Apr 5, 2024
3bd8379
pattern amplitude as enrichment stat
jmitchell81 Apr 5, 2024
bac3fc6
gene set names from list argument names
jmitchell81 Apr 5, 2024
ad2c512
specify function calls from dplyr, fgsea, forcats
jmitchell81 Apr 5, 2024
2459bb2
unit tests for getPatternGenSet
jmitchell81 Apr 5, 2024
b177189
specify padj threshold for geneset plot
jmitchell81 Apr 5, 2024
604b92f
trim comments
jmitchell81 Apr 5, 2024
0c80e32
use stored GIST result to test getPatternGeneSet
jmitchell81 Apr 5, 2024
f4d6237
getPatternGeneSet Generic
jmitchell81 Apr 5, 2024
b42ec49
remove getPatternHallmarks definition
jmitchell81 Apr 5, 2024
b4f17d3
testthat::expect_error for getPatternGeneSet
jmitchell81 Apr 6, 2024
770f3ef
update get and plot GeneSet generics
jmitchell81 Apr 6, 2024
0db9f33
devtools document update
jmitchell81 Apr 6, 2024
ccf59fa
switch to expect_no_error
jmitchell81 Apr 6, 2024
6aa129f
static hline threshold
jmitchell81 Apr 6, 2024
3bfe7d1
title specific to test method used
jmitchell81 Apr 6, 2024
a83199a
tests for plotPatternGeneSet
jmitchell81 Apr 6, 2024
6db63ed
remove object argument from plotPatternGeneSet
jmitchell81 Apr 6, 2024
2f6db07
remove object arguments from tests
jmitchell81 Apr 6, 2024
4ff7bf7
remove ggplot2::aes_string import
jmitchell81 Apr 6, 2024
fa4cd1d
Update r-build-check.yml
dimalvovs Apr 8, 2024
4836aa1
Merge pull request #93 from FertigLab/dimalvovs-patch-1
dimalvovs Apr 8, 2024
6956f1e
replace getPatternGeneSet example in vignette
jmitchell81 Apr 8, 2024
5ca56ea
patternMarker parameters in getPatternGeneSet
jmitchell81 Apr 8, 2024
9a7ff3b
Remove documentation of object for plotting
jmitchell81 Apr 8, 2024
d69ee96
remove import biomart and msigdbr from DESC
jmitchell81 Apr 8, 2024
faa2ce5
load modsim data without filepath
jmitchell81 Apr 8, 2024
ceee671
remove second occurance of load()
jmitchell81 Apr 8, 2024
66e3955
Update DESCRIPTION
dimalvovs Apr 9, 2024
1f66cc3
Merge pull request #92 from jmitchell81/89-GSORA_and_GSEA
dimalvovs Apr 9, 2024
e12f8ea
Merge branch 'master' of github.com:FertigLab/CoGAPS
dimalvovs Apr 9, 2024
44602b6
bump odd y in version
dimalvovs Apr 9, 2024
730a0f1
bump just 1 minor version
dimalvovs Apr 9, 2024
5f74290
bump to next v according to fertiglab/CoGAPS
dimalvovs Apr 9, 2024
e3ac17b
pl variable name
jmitchell81 Apr 30, 2024
47294d4
color fill by enrichment score
jmitchell81 Apr 30, 2024
f108f20
remove padj text overlay
jmitchell81 Apr 30, 2024
b026f12
include legend and fixed pval indicator
jmitchell81 Apr 30, 2024
b2bc34c
Continuous score color fill
jmitchell81 Apr 30, 2024
1dcbfcb
axis label declaration
jmitchell81 Apr 30, 2024
a2975cc
overlay gene set names
jmitchell81 Apr 30, 2024
5ecafd4
bump x.y.z version to even y prior to creation of RELEASE_3_19 branch
jwokaty Apr 30, 2024
5e91cbe
bump x.y.z version to odd y following creation of RELEASE_3_19 branch
jwokaty Apr 30, 2024
e9772b0
correct reference to x and y regarding coord_flip
jmitchell81 Apr 30, 2024
3e1d444
remove axis max and old plot comment
jmitchell81 Apr 30, 2024
6ed3c09
hide pathway names on axis
jmitchell81 Apr 30, 2024
215ea6f
update ggplot2 importFrom
jmitchell81 Apr 30, 2024
5232d98
Update NAMESPACE
jmitchell81 Apr 30, 2024
a7d80da
add element_blank to namespace
jmitchell81 Apr 30, 2024
c92d62b
remove gene set names on y axis
jmitchell81 Apr 30, 2024
cc8c42c
Merge pull request #97 from jmitchell81/score_fill_for_geneset_plot
dimalvovs Apr 30, 2024
510eb39
add a test for empty patternMarkers
dimalvovs May 2, 2024
fc5416a
fix threshold="all" from #102
dimalvovs May 2, 2024
b96df78
add a test that fails on empty names
dimalvovs May 4, 2024
049b867
add a test to check A and P dim across modes
dimalvovs May 4, 2024
2a20841
debug empty name test - make it fail
dimalvovs May 4, 2024
0c3952d
fix P dimensionality for sweeping
dimalvovs May 5, 2024
71dda81
cleanup style, rm unused variable pmax
dimalvovs May 5, 2024
d82f149
simplify loop
dimalvovs May 5, 2024
fa9e6ab
assign names to pass test
dimalvovs May 5, 2024
186dce0
adjust style and close #102
dimalvovs May 5, 2024
e8ee54b
commenting GAPSRunner.cpp
ejfertig May 8, 2024
843ae72
add the original method back
dimalvovs May 9, 2024
b301382
make original patternMarkers work in object setting
dimalvovs May 9, 2024
1e874f1
update description
dimalvovs May 9, 2024
c8aa85b
adjust vignette
dimalvovs May 9, 2024
80ccfb2
add trivial functional test for threshold=cut
dimalvovs May 16, 2024
132fd4a
extend mock test to threshold=all (fails)
dimalvovs May 22, 2024
007432d
Merge pull request #106 from FertigLab/104-refactor-add-comments
dimalvovs May 24, 2024
70f4078
replace pathway column with gene.set
jmitchell81 May 29, 2024
416bd54
test significant gene sets
jmitchell81 May 29, 2024
d8c71b1
refactor patternMarkers, remove cut for now
dimalvovs May 29, 2024
06e6360
remove cut from vignette
dimalvovs May 29, 2024
41826c7
bump version
dimalvovs May 29, 2024
f6287a2
Merge pull request #108 from FertigLab/jacob-visualizations
dimalvovs May 29, 2024
72479a1
add a sorting test that patternMarkers fail
dimalvovs May 29, 2024
b6dbbb9
clean up tests
dimalvovs May 29, 2024
9a50505
add a modified (a bit) KW edit
dimalvovs May 29, 2024
6a38d5a
merge upstream
dimalvovs May 29, 2024
278e318
shorten test code - move mock creation to a fun
dimalvovs May 30, 2024
3c7cee5
refactor patternMarkers
dimalvovs Jun 3, 2024
09b1d3a
further simplify
dimalvovs Jun 3, 2024
91c131f
fix implementation of custom-provided lp
dimalvovs Jun 4, 2024
09c43fc
bug fix use ranks vs stats values
dimalvovs Jun 5, 2024
5de4ff1
add test that checks that all genes are returned for threshold="all"
dimalvovs Jun 5, 2024
20bba46
add lp testing
dimalvovs Jun 5, 2024
288e685
bump version
dimalvovs Jun 5, 2024
aea5f7b
bump version
dimalvovs Jun 5, 2024
45fdd42
Merge pull request #103 from FertigLab/102-patternmarkers-all-returni…
dimalvovs Jun 5, 2024
5b8c6bd
add threshold = "cut" back
dimalvovs Jun 10, 2024
ec4f076
bump version
dimalvovs Jun 10, 2024
5610b81
Merge pull request #110 from FertigLab/109-fix-threshold=cut-mode
dimalvovs Jun 10, 2024
3e02edb
add score output to patternMarkers-method
dimalvovs Jun 12, 2024
ccf9bca
refactor patternMarkers - make modular
dimalvovs Jun 13, 2024
9374a1b
add axis switching back
dimalvovs Jun 13, 2024
14430f1
update docs
dimalvovs Jun 13, 2024
49d56c2
update vignette, closes #105
dimalvovs Jun 13, 2024
09e7868
update score description
dimalvovs Jun 13, 2024
5b471da
fix inter-pattern bug
dimalvovs Jun 13, 2024
e751a68
a merge for bioconductor
dimalvovs Jun 17, 2024
5a8f4cc
Merge pull request #112 from FertigLab/105-refactor-patternmarkers
dimalvovs Jun 17, 2024
f1d1067
add a test that fails (probably wrrong)
dimalvovs Sep 5, 2024
dbd39fe
updated to call with provided uncertainty
dimalvovs Sep 5, 2024
a3fa841
add a dummy test w/unc vs wo/unc
dimalvovs Sep 9, 2024
23e99e0
unconditionally run cpp tests
dimalvovs Sep 13, 2024
c6166cd
shrink ch^2 diff with direct calc to 4426 - 4426 == -0.000145
dimalvovs Oct 3, 2024
9502202
change tolerance for chisq diff to float precision * n elements
dimalvovs Oct 3, 2024
0594745
go further down by changing chisq representation to double
dimalvovs Oct 3, 2024
2db6467
Revert "shrink ch^2 diff with direct calc to 4426 - 4426 == -0.000145"
dimalvovs Oct 3, 2024
d891332
Revert "go further down by changing chisq representation to double"
dimalvovs Oct 3, 2024
12fb26f
Revert "unconditionally run cpp tests"
dimalvovs Oct 3, 2024
6a20d7b
another take on bringing the reported/calculated closer together
dimalvovs Oct 3, 2024
b0270d8
Revert "another take on bringing the reported/calculated closer toget…
dimalvovs Oct 3, 2024
92490fd
bump version
dimalvovs Oct 3, 2024
3d187e2
Merge pull request #118 from FertigLab/116-wrong-chisq-reported
dimalvovs Oct 4, 2024
d3e5ba0
add container build action
dimalvovs Oct 7, 2024
b8d412d
Merge pull request #120 from FertigLab/119-build-container-on-merge-t…
dimalvovs Oct 7, 2024
7e906c7
add dockerfile
dimalvovs Oct 7, 2024
140a721
fix biocmanager package installation
dimalvovs Oct 8, 2024
6a0d182
Merge pull request #121 from FertigLab/119-build-container-on-merge-t…
dimalvovs Oct 8, 2024
a1d15ad
Update build-push-container.yml
dimalvovs Oct 8, 2024
b9b681b
expanding comments in GapsRunner.h
ejfertig Oct 25, 2024
ba5c445
adding comments
ejfertig Oct 25, 2024
05d022f
add comments to sparse chisq calculation
dimalvovs Nov 15, 2024
eb66b77
add comments to sparse chisq calculation
dimalvovs Nov 15, 2024
a6e5ff2
cleanup comments
dimalvovs Nov 15, 2024
9eb45e0
cleanup comments
dimalvovs Nov 15, 2024
6a3006f
add 1 to num and denom to fix NaN in chisq
dimalvovs Nov 15, 2024
007c78b
add 1 to num and denom to fix NaN in chisq
dimalvovs Nov 15, 2024
f25f63c
simplify value getter expr
dimalvovs Nov 15, 2024
b06f01b
simplify value getter expr
dimalvovs Nov 15, 2024
c7d2ff2
update comments
dimalvovs Nov 22, 2024
190db2c
resolve conflicts
dimalvovs Nov 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/gibbs_sampler/DenseNormalModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class DenseNormalModel
AlphaParameters alphaParametersWithChange(unsigned row, unsigned col, float ch);
void updateAPMatrix(unsigned row, unsigned col, float delta);

Matrix mDMatrix; // samples by genes for A, genes by samples for P
Matrix mMatrix; // genes by patterns for A, samples by patterns for P
const Matrix *mOtherMatrix; // pointer to P if this is A, and vice versa
Matrix mDMatrix; // Data Matrix, samples x genes or genes x samples
Matrix mMatrix; // A (left mult) or P (right mult) based on mDMatrix
const Matrix *mOtherMatrix; // pointer to vis-a-vis of mMartix
Matrix mSMatrix; // uncertainty values for each data point
Matrix mAPMatrix; // cached product of A and P
float mMaxGibbsMass;
Expand Down
21 changes: 12 additions & 9 deletions src/gibbs_sampler/SparseNormalModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,32 @@ void SparseNormalModel::extraInitialization()
// nop - not needed
}


float SparseNormalModel::chiSq() const
{
float chisq = 0.f;
for (unsigned j = 0; j < mDMatrix.nCol(); ++j)
for (unsigned j = 0; j < mDMatrix.nCol(); ++j) // for each col of Data Matrix
{
for (unsigned i = 0; i < mDMatrix.nRow(); ++i)
for (unsigned i = 0; i < mDMatrix.nRow(); ++i) // for each row of Data Matrix
{
float dot = gaps::dot(mMatrix.getRow(j), mOtherMatrix->getRow(i));
chisq += dot * dot;
float dot = gaps::dot(mMatrix.getRow(j), mOtherMatrix->getRow(i)); // dot = A * P
chisq += dot * dot; // chisq = chisq+dot^2
}

SparseIterator<1> it(mDMatrix.getCol(j));
SparseIterator<1> it(mDMatrix.getCol(j)); // iterate non-zero elements of col j
while (!it.atEnd())
{
float dot = gaps::dot(mMatrix.getRow(j), mOtherMatrix->getRow(it.getIndex()));
float dsq = get<1>(it) * get<1>(it);
chisq += 1 + dot * (dot - 2 * get<1>(it) - dsq * dot) / dsq;
float val = get<1>(it); // val = Data
float dot = gaps::dot(mMatrix.getRow(j), mOtherMatrix->getRow(it.getIndex())); // dot = A * P again
float dsq = val * val; // dsq = Data squared
chisq += (1 + dot * (dot - 2 * val - dsq * dot)) / (1 + dsq); // chisq
it.next();
}
}
return chisq * mBeta;
return chisq * mBeta; // mBeta is 100
}


float SparseNormalModel::dataSparsity() const
{
return gaps::sparsity(mDMatrix);
Expand Down
6 changes: 3 additions & 3 deletions src/gibbs_sampler/SparseNormalModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ class SparseNormalModel
AlphaParameters alphaParameters(unsigned r1, unsigned c1, unsigned r2, unsigned c2);
AlphaParameters alphaParametersWithChange(unsigned row, unsigned col, float ch);

SparseMatrix mDMatrix; // samples by genes for A, genes by samples for P
HybridMatrix mMatrix; // genes by patterns for A, samples by patterns for P
const HybridMatrix *mOtherMatrix; // pointer to P if this is A, and vice versa
SparseMatrix mDMatrix; // Data Matrix D, samp x genes or genes x samp
HybridMatrix mMatrix; // A (left mult) or P (right mult) based on mDMatrix
const HybridMatrix *mOtherMatrix; // pointer to vis-a-vis of mMartix
Matrix mZ2;
Vector mZ1;
float mBeta;
Expand Down
Loading