leekgroup/recount-website

prep_sample.R bug

Closed this issue · 3 comments

genes <- recount_genes
counts_gene <- lapply(split(as.data.frame(exon_counts), count_groups), colSums)
counts_gene <- do.call(rbind, counts_gene)
Error: object 'genes' not found

Hm... that's weird since you just created the genes object in the first line of code you posted.

ah it's because in your version it was 'gene' I changed it to 'genes' to make it work on my local machine! Anyway just wanted to let you know that so you can debug the github version

Yeah, I realized that after double checking the code. Thanks for the bug reports!