search for: gc_content

Displaying 3 results from an estimated 3 matches for "gc_content".

2007 Sep 25
5
Am I misunderstanding the ifelse construction?
I have a function like this: changedir <- function(dataframe) { dir <- dataframe$dir gc_content <- dataframe$gc_content d <- ifelse(dir == "-", gc_content <- -gc_content,gc_content <- gc_content) return(d) } The goal of this function is to be able to input a data frame like this: > lala dir gc_content 1 + 0.5 2 - 0.5 3 +...
2007 Oct 11
1
creating summary functions for data frame
...1790000 773000 3389227 Bacteria 3 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria 4 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria 5 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria grp feature gene begin dir gc_content replicor LEADLAG 1 Alphaproteobacteria CDS CDS 261 + 0.654244 RIGHT LEAD 2 Alphaproteobacteria CDS CDS 1737 - 0.651408 RIGHT LAG 3 Alphaproteobacteria CDS CDS 2902 + 0.607843 RIGHT LEAD 4 Alphaproteobacteria CDS CDS 3693 + 0.617647 RIGH...
2007 Sep 19
2
function on factors - how best to proceed
...cteria 2 NC_009484 cir 1790000 773000 3389227 Bacteria 3 NC_009484 cir 1790000 773000 3389227 Bacteria 4 NC_009484 cir 1790000 773000 3389227 Bacteria 5 NC_009484 cir 1790000 773000 3389227 Bacteria grp feature gene begin dir gc_content replicor LEADLAG 1 Alphaproteobacteria CDS CDS 261 + 0.654244 RIGHT LEAD 2 Alphaproteobacteria CDS CDS 1737 - 0.651408 RIGHT LAG 3 Alphaproteobacteria CDS CDS 2902 + 0.607843 RIGHT LEAD 4 Alphaproteobacteria CDS CDS 3693 + 0.617647 RIGH...