Displaying 6 results from an estimated 6 matches for "melanogaster".
2011 Mar 06
1
read.table mystery
Hello,
Please have a look at the code below, which I use to read in the attached
file. As line 18 of the file reads "1065:>sp|Q9V3T9|ADRO_DROME
NADPH:adrenodoxin oxidoreductase, mitochondrial OS=Drosophila melanogaster
GN=dare PE=2 SV=1", I expect the code below to produce a 3 column data frame
with most of the last column empty and line 18 to produce a data.frame row
like so:
V1
1065
V2
>sp|Q9V3T9|ADRO_DROME NADPH
V3
adrenodoxin oxidoreductase, mitochondrial OS=Drosophila
melanogaster GN=dare PE...
2002 Mar 12
4
swapping rows with columns
...and the rows to be columns. What's the easiest way to do this in R?
> class(d)
[1] "data.frame"
> rownames(d)
[1] "98x101" "40x98" "30x40" "0x30"
> colnames(d)
[1] "H..sapiens" "C..elegans" "D..melanogaster"
"S..cerevisiae"
[5] "E..coli" "M..tuberculosis" "B..subtilis"
"V..cholerae"
[9] "A..pernix" "P..horikoshii" "M..jannaschii"
"A..aeolicus"
[13] "H..pylori"...
2002 Mar 09
1
labels outside plotting region
...mad using it. I've managed to
produce a barplot with the labels for the ytick marks placed
horizontally (perpendicular to the y-axis) usiing par(las=1). The
problem is that most of my labels are in part beyond the plotting area
because they are rather long (e.g. "H. sapiens", "D. melanogaster" ...).
What is the easiest way to solve this problem, can I (somehow) re-scale
the x-extension and x-shift the plot to get more space to the left of
the visible area?
thanks a lot for help,
Arne
--
Arne Mueller
Biomolecular Modelling Laboratory
Imperial Cancer Research Fund
44 Lincoln...
2011 Jan 16
1
Help in Coxme
I am a relative newbie to survival analysis and R in general, but
would like to use the coxme package to analyse some data I currently
have.
The data is relative to survival times of drosophila melanogaster
populations to infection with pathogens, and has the variables:
Time,
Status,
Treatment (4 treatments + 2 controls)
Population
Replicate
?and I'm currently using the following call
mixed<- coxme(formula = Surv(Time, Status) ~ strata(Treatment) + (1 |
Population/Replicate),x=T,y=T)
The treat...
2007 Dec 31
2
How to import ENSEMBL text data using R
Dear all,
I have a data which is in text file and i would like to import the data to R. From the manual, i?ve found the read.table command function is the most appropriate but when i wrote the command an error had occur. It say ?Error in read.table"C:/Users/user/Documents/cfa-1.txt", header = T, sep = "\t",skip=10) :more columns than column names?. Please help me with this as
2011 Jan 17
2
How to still processing despite bug errors?
...qiRf1mkMT-Z@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I am a relative newbie to survival analysis and R in general, but
> would like to use the coxme package to analyse some data I currently
> have.
> The data is relative to survival times of drosophila melanogaster
> populations to infection with pathogens, and has the variables:
> Time,
> Status,
> Treatment (4 treatments + 2 controls)
> Population
> Replicate
> ?and I'm currently using the following call
> mixed<- coxme(formula = Surv(Time, Status) ~ strata(Treatment) + (1 |
&...