Closed VergaJU closed 2 months ago
1) Yes you can simply set the factor levels and Libra will use that to set the reference. 2) No, we will add this in an updated version. However, you can just to Libra:::to_pseudobulk and use this in your own custom analysis with edgeR/DESeq2/limma.
Thank you for the answer, all clear
Hi,I wanna to ask how to specify the comparison in Libra?
Thanks
Hello,beforeI am running DE analysis,I set data$label <- factor(data$label, levels = c("after","before")),does it mean that the comparison is before vs after ?
The second factor level is used as reference.
Thanks so much
I am running DE analysis on some single cell datasets created merging multiple samples from different studies. All the datasets are saved as Seurat objects and the meta.data have this structure:
The columns
label
contains the two groups that I want to compare,cell_type
as the name suggest the cell types andreplicate
the different samples which the cells come from.My questions are:
run_de
? If no, does it make sense to take the pseudobulk matrix and use it as bulk expression matrix to input into edgeR/DESeq2/limma? In this way I could create a personalized design matrix or run the batch correction separately before run the DE analysisThank you for the support Jacopo