Just a very simple follow-up. In the summary table (listed as "summ" below),
the "TR" column I would like to display the total number of rows (i.e.
counts) which I have done via "NROW()" function.
However, in the "RG1" I would only like to count the number of rows with a
'totalread' count >= 1 (i.
Thank you both very much! The codes are pretty slick and should greatly help
me in my task.
--
View this message in context:
http://r.789695.n4.nabble.com/Writing-a-summary-file-in-R-tp3700031p3700382.html
Sent from the R help mailing list archive at Nabble.com.
_
On Jul 27, 2011, at 9:42 PM, Dennis Murphy wrote:
Hi:
Is this more or less what you're after?
## Note: This is the preferred way to send your data by e-mail.
## I used dput(data-frame-name) to produce this,
## where data-frame-name = 'df' on my end.
df <- structure(list(V1 = c("chr1", "chr1",
Hi:
Is this more or less what you're after?
## Note: This is the preferred way to send your data by e-mail.
## I used dput(data-frame-name) to produce this,
## where data-frame-name = 'df' on my end.
df <- structure(list(V1 = c("chr1", "chr1", "chr1", "chr1", "chr3",
"chr4", "chr4", "chr7", "chr7
Yes, that is the general objective. I'll look-into aggregates in R and see if
anything helps.
Thanks,
a217
--
View this message in context:
http://r.789695.n4.nabble.com/Writing-a-summary-file-in-R-tp3700031p3700071.html
Sent from the R help mailing list archive at Nabble.com.
_
On Jul 27, 2011, at 7:02 PM, a217 wrote:
Hello,
I have an input file:
http://r.789695.n4.nabble.com/file/n3700031/testOut.txt testOut.txt
where col 1 is chromosome, column2 is start of region, column 3 is
end of
region, column 4 and 5 is base position, column 6 is total reads,
column 7
i
Hello,
I have an input file:
http://r.789695.n4.nabble.com/file/n3700031/testOut.txt testOut.txt
where col 1 is chromosome, column2 is start of region, column 3 is end of
region, column 4 and 5 is base position, column 6 is total reads, column 7
is methylation data, and column 8 is the strand.
7 matches
Mail list logo