HI everyone, I'm plotting a histogram in R and within that histogram i need to demonstrate the percentage of another variable (Percentage of MutStatus) within the bins plotted inthe histogram....I don't know how to do that!
Data:Validation_Status Mutation_Status TvarRatio Wildtype None 0.08 Wildtype None 0.08 Wildtype None 0.08 Wildtype None 0.08 Wildtype None 0.080139373 Wildtype None 0.080152672 Wildtype None 0.080213904 Wildtype None 0.080357143 Wildtype None 0.080357143 Wildtype None 0.080357143 Wildtype None 0.08045977 Wildtype None 0.1 Wildtype LOH 0.1 Wildtype None 0.1 Wildtype None 0.1 Wildtype None 0.1 Wildtype None 0.1 Wildtype None 0.1 Wildtype Somtatic 0.1 Wildtype None 0.100558659 Wildtype None 0.100591716 Wildtype None 0.101010101 Wildtype None 0.101123596 Wildtype Gline 0.101333333 Wildtype None 0.101369863 Wildtype None 0.101449275 Wildtype None 0.101522843 Wildtype None 0.101604278 Wildtype None 0.102040816 Wildtype Gline 0.102040816 Wildtype None 0.102362205 Wildtype None 0.102459016 Wildtype None 0.102564103 Wildtype None 0.102702703 Wildtype None 0.102739726 Wildtype None 0.102803738 Valid Somatic 0.102941176 Wildtype None 0.102941176 -- View this message in context: http://r.789695.n4.nabble.com/Histograms-in-R-tp3733644p3733644.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.