Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Amine GHOZLANE
shaman
Commits
663d1592
Commit
663d1592
authored
Sep 18, 2019
by
Amine GHOZLANE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force expended model
parent
e676c88e
Pipeline
#14734
canceled with stages
in 42 minutes and 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Rfunctions/Stat_Model.R
Rfunctions/Stat_Model.R
+2
-2
www/Workflow_sh.png
www/Workflow_sh.png
+0
-0
No files found.
Rfunctions/Stat_Model.R
View file @
663d1592
...
...
@@ -63,14 +63,14 @@ Get_dds_object <- function(input,counts,target,design,normFactorsOTU,CT_noNorm,C
# dds <- nbinomWaldTest(dds,modelMatrixType = "expanded")
if
(
nrow
(
counts
)
*
nrow
(
target
)
>=
50000
)
{
dds
=
DESeq2shaman
::
DESeq
(
dds
,
fitType
=
input
$
fitType
,
parallel
=
TRUE
,
minReplicatesForReplace
=
Inf
)
dds
=
DESeq2shaman
::
DESeq
(
dds
,
fitType
=
input
$
fitType
,
parallel
=
TRUE
,
minReplicatesForReplace
=
Inf
,
modelMatrixType
=
"expanded"
)
# try(DESeq(dds,fitType=input$fitType,parallel = TRUE,minReplicatesForReplace = Inf) ->ddstmp,silent = TRUE)
# if(!is.null(ddstmp)) dds = ddstmp
}
if
(
nrow
(
counts
)
*
nrow
(
target
)
<
50000
||
is.null
(
dds
))
{
dds
<-
DESeq2shaman
::
estimateDispersions
(
dds
,
fitType
=
input
$
fitType
)
dds
<-
DESeq2shaman
::
nbinomWaldTest
(
dds
)
dds
<-
DESeq2shaman
::
nbinomWaldTest
(
dds
,
modelMatrixType
=
"expanded"
)
}
# dds <- DESeq(dds,fitType=input$fitType,modelMatrixType = "expanded",parallel = TRUE)
# }
...
...
www/Workflow_sh.png
View replaced file @
e676c88e
View file @
663d1592
757 KB
|
W:
|
H:
644 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment