Dear Kevin thank you for your helpful comment, I wanted to use DEGs identified from EdgeR/limma-voom normalized by TMM and extract their expression data from norm_counts (below) for WGCNA, which is mentioned in several good papers (e.g. PMC6660050), however in the part 2 of the FAQ it has been said that "We do not recommend filtering genes by differential expression", is this wrong? and can i use "norm" from EdgeR following code which is logged CPM, while it has 20000 genes? isn't this too long for WGCNA? can i just do another filter based on Adjusted p value? because it is said that top 5000 is good for WGCNA
keep = filterByExpr(dge,design) # defining which genes to keep
dge = dge[keep,,keep.lib.sizes=FALSE] # filtering the dge object
rm(keep)
dge = DGEList(
counts=assay(tcga_data),
samples=colData(tcga_data),
genes=as.data.frame(rowData(tcga_data)))
dge = calcNormFactors(dge,method="TMM")
norm_counts <- cpm(dge, log =TRUE )
v = voom(dge,design,plot=TRUE)
norm <-v$E
thank you so much, I'm confused with these.