Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Gitlab will go into maintenance Friday 3rd February from 9:00 to 10:00
Open sidebar
BDS
GeneDER
ArrayUtils
Commits
fdeae68b
Commit
fdeae68b
authored
Jun 25, 2019
by
Leon-Charles Tranchevent
Browse files
Linted code.
parent
947909fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/run_limma.R
View file @
fdeae68b
...
...
@@ -34,7 +34,7 @@ run_limma <- function(pheno_data, eset, limma_parameters,
# If necessary we add a block based on a co-factor.
# For instance, if we have paired samples.
if
(
has_block
)
{
clinical_cofactor
<-
factor
(
pheno_data
[[
cofactor_name
]])
clinical_cofactor
<-
factor
(
pheno_data
[[
cofactor_name
]])
# nolint
design
<-
stats
::
model.matrix
(
~
0
+
clinical
+
clinical_cofactor
)
colnames
(
design
)
<-
c
(
levels
(
clinical
),
cofactor_name
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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