Re: [R] Fwd: Need some assistance in plotting distributions

2014-07-08 Thread Frede Aakmann Tøgersen
or please contact the sender. > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Vivek Das > Sent: 8. juli 2014 12:38 > To: jim holtman > Cc: R help > Subject: Re: [R] Fwd: Need some assistance in plottin

Re: [R] Fwd: Need some assistance in plotting distributions

2014-07-08 Thread Vivek Das
Dear Jim, Thank you for replying to my query. Both the files contains tumor mutational frequencies. The LG_freq contains the entire mutational landscape and the HIPS2_freq contains mutational frequency of one clone. I want to see how both the frequency curve are behaving in one plot. Is that possi

Re: [R] Fwd: Need some assistance in plotting distributions

2014-07-08 Thread jim holtman
Have you tried the density function: > a <- read.table('/users/jim/downloads/LG_freq.txt',header = TRUE) > str(a) 'data.frame': 669 obs. of 2 variables: $ Position : Factor w/ 669 levels "chr1_103381212",..: 308 463 458 160 393 457 165 464 3 467 ... $ frequency: num 75 62.5 50 48.9 47.1 ...

[R] Fwd: Need some assistance in plotting distributions

2014-07-08 Thread Vivek Das
Dear Users, I need some assistance in plotting some distribution enrichments, like I have files with some frequency values, now I want to plot plot the distribution of those frequencies for one sample and then on the same plot I want to plot the next samples where the frequency comes from another