-
Notifications
You must be signed in to change notification settings - Fork 1
/
deseq_helper_functions.R
48 lines (44 loc) · 2.52 KB
/
deseq_helper_functions.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
###########################################################################
#
# HEADER
#
###########################################################################
# Author: Matthew Muller
#
# Date: 2023-02-18
#
# Script Name: DESeq2 Helper Functions
#
# Notes:
# This script contains helper functions that can be used to assist in differential
# expression analysis using DESeq2. Most inputs are expected as DDS or SE objects.
message("This script is being deprecated. Please use the rna_functions and enrichment_functions scripts instead.")
message('
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⡤⠶⠭⠥⣼⣽⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣠⠞⠉⠀⠀⠀⠀⠀⠀⠀⠉⠓⢦⡀⠀⠀⠀⠀⠀⠀
⠀⠀⡤⠞⢋⡟⣡⣤⠶⣶⡄⠀⠀⠀⢠⡶⠶⢦⣄⠙⣦⠤⢤⡀⠀⠀
⢀⡞⣡⢤⡾⠈⣵⠒⠶⢦⡀⢠⠖⠀⢠⡔⠒⠶⣮⠀⠘⣦⣤⡙⣆⠀
⢸⢿⡇⢰⠇⠀⠙⠒⠶⠋⢀⡏⠀⠀⠀⠙⠒⠚⠉⠀⠀⢹⠀⣹⠸⡆
⣾⠀⣉⢻⡄⠀⠀⠀⠀⣸⣼⣆⠀⣸⣤⡆⠀⠀⠀⠀⠀⢸⠞⠁⠀⢷
⠈⠉⠉⠛⢷⡀⠀⠀⠰⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⡼⠶⠚⠛⠋
⠀⠀⠀⠀⠀⠳⣄⠀⠀⠀⠀⠀⠉⠀⠈⠁⠀⠀⠀⣠⠞⠁⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠈⠛⠦⣄⣀⠀⠀⠀⠀⣀⣠⡴⠚⠁⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⣠⢾⣈⠉⠉⢉⣉⣁⡿⢤⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⡟⠀⠈⠉⠉⠉⠉⠁⠀⠈⣧⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢀⣠⠤⠶⠚⠁⠀⠦⠤⠤⠤⠤⠖⠂⠀⠈⠓⠦⢤⣀⠀⠀⠀
⠀⢀⡞⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠳⣄⠀
⢀⡞⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⡆
⣸⠀⠀⠀⢀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣇⠀⠀⠀⠀⣷
⡏⠀⠀⠀⢸⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⠀⠀⠀⠀⢸
⠃⠀⠀⠀⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢘⠁⠀⠀⠀⠘
')
###########################################################################
#
# CODE
#
###########################################################################
# the code has been moved to the filtering_functions, rna_functions, and enrichment_functions scripts
source('https://raw.githubusercontent.com/mattmuller0/Rtools/main/filtering_functions.R')
source('https://raw.githubusercontent.com/mattmuller0/Rtools/main/rna_functions.R')
source('https://raw.githubusercontent.com/mattmuller0/Rtools/main/enrichment_functions.R')