BushmanLab / intSiteCaller

GNU General Public License v3.0
5 stars 5 forks source link

check_stats.R crashes on unfinished run #29

Closed cnobles closed 9 years ago

cnobles commented 9 years ago

Tried running check_stats.R on runs which don't have 100% completion (about 95% or more samples completed) and the error message below is returned:

Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match Calls: do.call -> -> rbind Execution halted

I'm going to take a guess at the issue: since not all the samples finished, the stats.RData from each of the samples don't have the same number of columns and therefore cannot rbind().

yhwu commented 9 years ago

git pull and try again

cnobles commented 9 years ago

That worked, my bad. Anyway we could make the stats more human readable?

yhwu commented 9 years ago

Some bar plots would be good.

cnobles commented 9 years ago

I output the files to tsv and transferred them to my comp to view in excel. Maybe next time change them to csv's and make my life easier.

yhwu commented 9 years ago
Rscript check_stat.R | tr "\t" "," > tmp.csv
cnobles commented 9 years ago

Ok, I was going to use sed , but I like learning to use new functions! Thanks Yinghua.