Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Araformatics group
Araformatics project
Commits
582d33fc
Commit
582d33fc
authored
Dec 08, 2021
by
Schoorlemmer, Joran
Browse files
Replace DEanalysis.R
parent
fc3930a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/DEanalysis.R
View file @
582d33fc
...
...
@@ -4,6 +4,8 @@ padj <- read.csv("padjwoquote.csv", sep="\t", header=TRUE, row.names=1)
# prep data
padj
[
is.na
(
padj
)]
=
1
logf
[
is.na
(
logf
)]
=
0
# print # of DEG values for samples
for
(
i
in
1
:
ncol
(
padj
))
{
...
...
@@ -18,4 +20,5 @@ DEGs <-as.matrix(DEGs)
DEGs
<-
DEGs
[,
order
(
colnames
(
DEGs
))]
# plot data
barplot
(
DEGs
,
main
=
"Differentially expressed genes (DEGs)"
)
boxplot
(
logf
)
Write
Preview
Supports
Markdown
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