Displaying 3 results from an estimated 3 matches for "gc_contents".
Did you mean:
gc_content
2007 Sep 25
5
Am I misunderstanding the ifelse construction?
...4 - 0.5
15 + 0.5
16 - 0.5
17 + 0.5
18 - 0.5
19 + 0.5
20 - 0.5
>
And change the sign of the value of the gc_content field if the
corresponding dir field is negative.
Howver, when I run this through the changedir function, all of the
gc_contents become negative.
An I misunderstanding how to use the ifelse construct? And in that
case, how should I go about doing this in a different way?
Thankyou very much in advance for your help, and I hope that my
question is not too banal!
Karin
--
Karin Lagesen, PhD student
karin.lagesen at medisin....
2007 Oct 11
1
creating summary functions for data frame
I have a data frame that looks like this:
> gctablechromonly[1:5,]
refseq geometry gccontent X60_origin X60_terminus length kingdom
1 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
2 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
3 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
4 NC_009484 cir 0.6799
2007 Sep 19
2
function on factors - how best to proceed
Sorry about this one being long, and I apologise beforehand if there
is something obvious here that I have missed. I am new to creating my
own functions in R, and I am uncertain of how they work.
I have a data set that I have read into a data frame:
> gctable[1:5,]
refseq geometry X60_origin X60_terminus length kingdom
1 NC_009484 cir 1790000 773000 3389227 Bacteria
2