Skip to content

Commit

Permalink
Update WGCNA_ASF_Modules.R
Browse files Browse the repository at this point in the history
These codes in R is from original WGCNA R package.
INPUT: output of WGCNA_ASF.m 
By following this tutorial WGCNA can be applied by using ASF.
  • Loading branch information
karabekmez authored Jan 2, 2023
1 parent 5cb1a4d commit 4ba3e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WGCNA_ASF_Modules.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ plotDendroAndColors(geneTree, dynamicColors, "Dynamic Tree Cut",
dev.off()

# after initial modulation of WGCNA, re-allocation of genes by using raw expression data is needed
human <- read.table("human.txt") # human.txt consists of expression data
human <- read_excel("covid1.xlsx", col_names = FLASE) # human.txt consists of expression data
covidmatrix <- as.matrix(human)
datExpr <- t(covidmatrix)

Expand Down

0 comments on commit 4ba3e6f

Please sign in to comment.