Displaying 20 results from an estimated 100 matches similar to: "How do I juxtapose two lattice graphs with common X axes such that the X axes line up?"
2010 Dec 13
1
Qs re writing/reading arrays, dataframes
Hi! I'm just getting started with R (and with the analysis of large
datasets in general). I have several beginner-level questions whose
answers I have not been able to find, and was hoping one of you would
be kind enough to throw me a cluebrick or two.
I have a 6-dimensional numeric array (which I'll call myarray) that is
"fully named". By this I mean that non-NULL dimnames
2009 Mar 04
5
Filtering R lists
Hello
I am am new to R and any help with the following would be appreciated:
I have a list (example attached) and I would like to create a new list
which is a filtered version of this list. I.e I would like a list that
only contains elements with this value:
Chr 10 : 21853562 - 21855482
Any pointers/tips would be great.
Thanks!
Nikol
--
Bioinformatician/Computer Associate
Cambridge Institute
2010 Jan 21
1
Merging and extracting data from list
Hello R-help group,
I have a question about merging lists. I have two lists:
Genes list (hSgenes)
name chr strand start end transStart transEnd
symbol description feature
ENSG00000223972 1 1 11874 14412 11874 14412
DEAD/H box polypeptide 11 like 1DEAD/H box polypeptide 11 like 3DEAD/H
box polypeptide 11 like 9 ;;
2015 Jul 26
1
Get term from document by position
> Can you file a bug with some example outputs that are unrelated to the search string?
Here is the example (see attachment).
This example does the following:
1)First, it indexes text from the "text.txt" file (see attachment) (actually, this is the text of the following book: "Abbas, Lichtman. Basic immunology").
2)Next, it searches for the "extracellular
2015 May 18
4
How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?
My question:
On Windows, R's system() command prepends several directories to those
in the Windows Path variable.
>From ?system
The search path for 'command' may be system-dependent: it will
include the R 'bin' directory, the working directory and the
Windows system directories before 'PATH'.
This shadows any executables on the Path that share a
2009 Oct 17
0
the number of components of the mixture model and the stratfied data
Hi,all
with my data,there are more than 1000 quantitative results of antibody
concentrations, there may be 2 components(positive and negative), or 3
components (may be strong positive, positive, and negative), or 4-6
components. Could you tell me how to determine the number of components of
the mixture model? the "anova.mix" in mixdist of the R software seems not
work.
my
2005 Apr 11
2
How to calculate the AUC in R
Hello R-listers,
I'm working in an experiment that try to determine the degree of
infection of different clones of a fungus and, one of the measures we
use to determine these degree is the counting of antibodies in the
plasma at different dilutions, in this experiment the maximum number of
dilutions was eleven. I already checked for differences on the maximum
concentration of the
2007 Sep 12
0
New package: hbim - Hill/Bliss Independence Model for Multicomponent Vaccines
Hi all,
I have just uploaded the hbim package. This package does calculations related to the Hill/Bliss independence model as applied to mulitcomponent vaccines. Specifically, the package caculates expected relative risk and proportion protected assuming normally distributed log10 transformed antibody dose for a several component vaccine. It uses Hill models for each component which are combined
2007 Sep 12
0
New package: hbim - Hill/Bliss Independence Model for Multicomponent Vaccines
Hi all,
I have just uploaded the hbim package. This package does calculations related to the Hill/Bliss independence model as applied to mulitcomponent vaccines. Specifically, the package caculates expected relative risk and proportion protected assuming normally distributed log10 transformed antibody dose for a several component vaccine. It uses Hill models for each component which are combined
2009 Sep 08
0
Genentech Nonclinical Biostatistics Position in South San Francisco
Nonclinical Biostatistics position at Genentech, South San Francisco
September 3, 2009
Genentech has an opening for a full time position in its Nonclinical
Biostatistics group, located in South San Francisco, CA.
The nonclinical group currently consists of ten MS and PhD level
statisticians and mathematicians, plus one programmer, who work with
approximately 1,000 scientists, engineers, and
2001 Aug 28
2
Christmas tree graphs
Hello R users,
I wish to draw a type of horizontal bar chart for two groups (males and
females). The values for one group will start at the y-axis and point to the
left, and the values for the other group will start at the y-axis and point to
the right. If you're (un)lucky, the resulting graph can assume the shape of a
Christmas tree.
The data are
left.side <- c(107092, 113053,
2005 Oct 12
1
Nonclinical Biostatistics Job Opening at Genentech in South San Francisco, CA
I hope that this job posting does not offend anyone. My sincere apologies if
it is inappropriate -- blame me, not my company.
-- Bert Gunter
Genentech Nonclinical Statistics
South San Francisco, CA
Genentech has an opening for a fulltime position in its nonclinical
biostatistics department, located in South San Francisco, CA.
The nonclinical group currently consists of seven MS and PhD
2004 Dec 01
2
barplot() using beside=TRUE and the density argument
Hi
I am using barplot() to draw some barplots, with a matrix as the data so
that multiple bars are drawn for each data point. I want to use the
argument "beside=TRUE" to juxtapose the bars instead of stacking them.
If I execute:
barplot(data,names.arg=names,density=c(20,10),beside=FALSE)
I get the expected behaviour i.e. the bottom part of the column is
shaded 20 lines per inch, the
2010 Sep 08
1
XML getNodeSet syntax for PUBMED XML export
I am looking for the syntax to capture XML tags marked with
/DescriptorName MajorTopicYN="Y"/ , but the combination of the internal
space (between "Name" and "Major" and the embedded quote marks are
defeating me. I can get all the "DescriptorName" tags, but these include
both MajroTopicYN = "Y" and "N" variants. Any suggestions?
2004 Oct 23
1
Legend/Substitute/Plotmath problem
Hello,
I seem unable to construct a legend which contains a substitution as
well as math symbols. I'm trying to do the following:
strain2 <- "YJG48"
legend.txt <- c(
substitute(
strain *
%==% *
"YJG45, rpn10" *
%Delta%,
list(strain=strain2)
),
"Verhulst/Logistic",
"Malthus"
)
legend(
100,2.5,
legend.txt,
cex=0.75,
2009 Apr 08
0
Customize Legend in Juxtaposed Barplot
Hello, I'm making barplots out of binary data, typically 0=no 1=yes,
but in some instances I have 2=Don't Know.
Anyway, when I create a juxtaposed barplot, what appears in the legend
is 0,1,and 2.
I want it to read No, Yes, Don't Know.
I'm not sure how to do that.
In addition to this, the other variable that this juxtaposed barplot is
grouped by is grade level, which is a
2009 Jun 05
1
Mixed Latin, Greek and subscript characters in axis label
Dear R-helpers,
I have been trying to figure out how to plot a graph with an axis label
consisting of a mixture of Latin, Greek and subscript characters.
Specifically, I need to write A[beta]{1-42}, where A is Latin script A,
[beta] is Greek lower case beta and {1-42} is subscript '1-42'.
I can use xlab=expression(beta[1-42]) and obtain the [beta]{1-42} part of
the label. But, I can't
2002 Dec 23
1
Strange axis labels?
Moi!
I'm trying to add a rather long label to a y-axis, and it's so long that
it won't fit into one line. However, things get strange when I try and
split it over 2 lines. The problem seems to be the plus/minus symbol,
which means I have to use expression(). I'm using R1.6.1 on Windoze
2000.
As an example:
thing1 <- expression(paste("log odds of survival probability (
2011 Sep 12
1
Centering lines on barplot centers.
Hello,
I am trying to port one of my plotting S+ functions to R and I am having
difficulties!!! I am including here only the troublesome code!
I first produce a barplot, saving the positions of the bar's centers.
par(mar = c(6.1, 5.1, 4.1, 4.1), mgp = c(3, 3.0, 0))
ticks.loc <- barplot(sum.of.weights, col = 5, xlab = "", ylab = "",
axes =
2009 May 29
2
Drawing schematics
Hi,
I would like to represent the treatment course of a subject with an arrow representing passage through time and various ticks, arrows, or bars representing treatments done to the patient along the arrow. I would like to generate this sort of schematic for each patient in a database taking information from the database such as time of treatment and type of treatment.
Does anybody know how I