Displaying 20 results from an estimated 600 matches similar to: "labels outside plotting region"
2002 Mar 12
4
swapping rows with columns
Hello,
I've read in a data file as a frame and now I'd like the columns to be
rows 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"
2002 Mar 17
3
R on the web
Hello All,
I'd like to create diagrams for dynamic web-pages via a cgi-script that
itself uses R. Sadly, I found out that the png and jpeg devices need an
X-server :-( , so I cannot use these nice devices. Does any one have any
experience using R for on-the-flycreation of graphics for web-pages
pages? Any suggestions for workarounds?
thanks very much for help,
Arne
--
Arne Mueller
2002 Mar 19
2
fitting with lm
Dear All,
I'm getting confused with the concept R uses to do regression using lm.
I'm afmiliar with gnuplot and the build-in fit command, but couldn't get
R's lm to work on my data.
I know that my data follows a powerlaw or maybe an exponential function,
and I'd like to determine the best fitting factors for the formula:
a*x^b where b < 0.
I've tried thge follwoing:
2003 Oct 08
1
Installing GLMMGibbs problems
Dear all;
Installing the GLMMGibbs package to my Solaris Unix box, I got an compiling
error:
ars.c:497:10: missing terminating " character
ars.c: In function `dump_arse':
ars.c:498: error: parse error before "mylesj"
.....
The compiling error was reported to the list on Jul 3, 2003. According to
Prof. Brain Ripley this is a known problem with the package and gcc 3.3,
2002 Mar 11
1
filled bars with patterns
Hello All,
I've created a view stacked barplots where some of the bars should
contain a pattern such as stripes. Adjacent bars of the same stack
should have the same colour but a different finnling pattern. Is R able
to do that?
Anyway, it's not the end of the world if not, a workaround would be to
export the plot in fig format and then using xfig to make the bar
filling striped,
2002 Mar 11
1
filled bars with patterns
Hello All,
I've created a view stacked barplots where some of the bars should
contain a pattern such as stripes. Adjacent bars of the same stack
should have the same colour but a different finnling pattern. Is R able
to do that?
Anyway, it's not the end of the world if not, a workaround would be to
export the plot in fig format and then using xfig to make the bar
filling striped,
2002 Mar 12
1
mathematical expression in legend
Hello,
I'm trying to put a mathematical expression into a legend, but R
complains about a syntax error. Basically i'd like to do this:
legend.text = c(expression(x < 10), expression(x >= 10))
The manual says that one can only pass mathematical expressions to axis,
text etc. but not to the legend command?
Is there a workaround for this?
thanks a lot for help,
Arne
--
Arne
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
2009 Sep 29
4
How can I avoid a for-loop through sapply or lapply ?
Through converting a miRNAs file from FASTA to character format I get a vector which looks like the following:
> nml
[1] "hsa-let-7a MIMAT0000062 Homo sapiens let-7a"
[2] "hsa-let-7b MIMAT0000063 Homo sapiens let-7b"
[3] "hsa-let-7c MIMAT0000064 Homo sapiens let-7c"
[4] "hsa-let-7d MIMAT0000065 Homo sapiens
2009 Nov 20
1
how to specify the order of panels with xyplot
> chromosomes
id refseq name length
1 0 NC_000001.9 Homo sapiens chromosome 1 247249719
2 1 NC_000002.10 Homo sapiens chromosome 2 242951149
3 2 NC_000003.10 Homo sapiens chromosome 3 199501827
4 3 NC_000004.10 Homo sapiens chromosome 4 191273063
5 4 NC_000005.8 Homo sapiens chromosome 5 180857866
6 5 NC_000006.10 Homo sapiens chromosome 6
2010 May 27
3
how to extract the 1st field from a vector of strings
I have the following vector of strings (shown only the first 3 elements)
> desc[1:3]
[1] "hsa-let-7a MIMAT0000062 Homo sapiens let-7a"
[2] "hsa-let-7a* MIMAT0004481 Homo sapiens let-7a*"
[3] "hsa-let-7a-2* MIMAT0010195 Homo sapiens let-7a-2*"
> is.vector(desc)
[1] TRUE
> A <- unlist(strsplit(desc[1:3], " "))
> A
[1]
2012 Apr 03
2
how to map microarray probe to gene, homology
Hi:
I have clustered microarray gene expression data and trying to map between
microarray probe, gene, pathway, gene ontology, and homology for a set of
(affy) microarray probes. Is there any package in R which facilitates this?
I am looking at bioconductor, but till now could not find a solution. A
link to some worked example would be appreciated.
Thanks and regards.
John
[[alternative HTML
2002 Jun 23
1
Kolmogorov-Smirnov tests: overflow
Dear All,
I've got a problem with ks.test. I've two realy large vectors, that I'd
like to test, but I get an overflow, and the p-value cannot be
calculated:
> length(genomesv)
[1] 390025
> length(scopv)
[1] 140002
> ks.test(genomesv, scopv)
Two-sample Kolmogorov-Smirnov test
data: genomesv and scopv
D = 0.2081, p-value = NA
alternative hypothesis: two.sided
2000 Nov 07
1
No subject
I have just moved to a new workplace. I saved an R workspace into
an ascii file at my old workplace and have ftp'ed it down here.
Unfortunately when I try to load the get a message saying that
the file is corrupted. It's a big file, but my experience suggests
that this normally refers to a problem at the beginning or end of a file,
so I thought it might be worth enclosing just the
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:
2011 Sep 13
2
GO & Protein Complex Analysis for Homo sapiens
Dear All,
I need to fetch GO ontologies for Homo sapiens with their mappings to
corresponding Uniprot identifiers. I would be using this information to
compare result from a clustering algorithm with existing protein complexes.
This would be a test to check how the clustering algorithm accurately
captures GO terms with respect to the known protein complexes. Can anyone
suggest a simple workflow
2000 Dec 15
0
Gibbs sampling in GLMMs: Beta testers required
Sort of a warning before I start: This post may be considered to
describe a rather amateurish approach to distributing software
which may annoy some people, but I sincerely hope it doesn't.
I've been working for some years with David Clayton on a project which
started life as
an S package but has now turned into an R library. It is (now)
called GLMMGibbs and estimates the parameters of
2000 Nov 07
1
ascii load file ( was Re: none)
> Date: Tue, 7 Nov 2000 17:34:37 +0000 (GMT)
> From: Jonathan Myles <mylesj at icrf.icnet.uk>
>
> I've now got a colleague at MRC-BSU to compress it, and email it as an
> attachment to my UNIX machine, where I uncompressed it and then ftp'ed
> it in ascii format to my laptop. So it doesn't seem to be an ascii/bin
> issue ...
Is it possible to get a binary
2011 Apr 20
1
Pattern match
Hi ALL,
I have very simple question regarding pattern matching. Could anyone tell me
how to I can use R to retrieve string pattern from text file. for example
my file contain following information
SpeciesCommon=(Human);SpeciesScientific=(Homo
sapiens);ReactiveCentres=(N,C,C,C,+
H,O,C,C,C,C,O,H);BondInvolved=(C-H);EzCatDBID=(S00343);BondFormed=(O-H,O-H);Bond+
2015 Oct 13
3
RFC: Introducing an LLVM Community Code of Conduct
On 13 October 2015 at 16:41, Rafael EspĂndola <llvm-dev at lists.llvm.org> wrote:
>> - *Be welcoming.* We strive to be a community that welcomes and supports
>> people of all backgrounds and identities. This includes, but is not limited
>> to members of any race, ethnicity, culture, national origin, colour,
>> immigration status, social and economic class, educational