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

true up and down genes missing from simulated data #2

Open
rlittman16 opened this issue Apr 18, 2020 · 1 comment
Open

true up and down genes missing from simulated data #2

rlittman16 opened this issue Apr 18, 2020 · 1 comment

Comments

@rlittman16
Copy link

Hello,

I was hoping to use your simulated data, but wanted to also have a look at what the true up and down regulated genes are. I saw there was a file created by your splatter script, but the files are missing from the simulation data directories.

Thanks!

@nhuhoa
Copy link

nhuhoa commented May 1, 2020

Dear rlittman,

The true up-, down- regulated genes info are noted in geneinfo.txt file, the column DEFacGroup. There are 2 groups, so have 2 column: DEFacGroup1, and DEFacGroup2. 1 is not differentially expressed, > 1 is differentially expressed. If I well remember, ex: geneinfo$DEFacGroup1 > 1 mean up-regulated in group 1, down-regulated in group2. More info you can see in Spatter tutorial, the part gene information:
https://www.bioconductor.org/packages/release/bioc/vignettes/splatter/inst/doc/splatter.html

If you don't see the simulated data in github folder, you can simply use the provided Splatter script to generate the data, then use heatmap to visualize the deg genes in DEFacGroup1, DEFacGroup2 columns. Good luck!

Get all up-, down-regulated genes:
geneinfo <- read.table(paste0('data/',simu,'/geneinfo.txt'), head=T)
real_de_genes_ls <- rownames(geneinfo[(geneinfo$DEFacGroup1+geneinfo$DEFacGroup2)!=2,])
deg_gene_ls <- geneinfo[real_de_genes_ls,]

Best,
Hoa Tran

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants