Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-factor derecksLabTools::combatRNAseq; requires library("ggfortify") #25

Open
dereckmezquita opened this issue Mar 20, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@dereckmezquita
Copy link
Member

dereckmezquita commented Mar 20, 2022

BUG: note at the moment you have to call library("ggfortify") before you can use this.

Usage:

temp1 <- data.table::fread("./data/20220221-stat1-in-NK-maturation.featureCounts-genes.csv")
temp2 <- data.table::fread("./data/LS_20210512-matrix.csv")

library("ggfortify")

# TODO rewrite the autoplot function

batch_corrected <- derecksLabTools::combatRNAseq(batches = list(temp1, temp2))

pdf("./combat-seq-batch-correction.pdf", width = 10, height = 10)
batch_corrected@qc_plots
dev.off()

data.table::fwrite(batch_corrected@corrected, "./data/combatseq-20220221-stat1-in-NK-maturation-LS_20210512.csv")
@dereckmezquita dereckmezquita added the bug Something isn't working label Mar 20, 2022
@dereckmezquita dereckmezquita added this to the 0.0.2 milestone Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant