Displaying 20 results from an estimated 2000 matches similar to: "While loop set up"
2009 Dec 04
1
Lattice : Help with changing the labels of x-axis in respective panels
Dear R-Helpers,
I am not very experienced in using lattice and I am still in the learning
stage
I have a data set which looks like this: (I have deleted a few lines in
order to save space)
Chromosome marker Marker.Name Distance
1 1 1 PeMm261 0.0000
2 1 2 Xtxp8 10.1013
..
20 1 20 EbMi148 210.3099
21 1 21 Xtxp25
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
2012 Sep 10
3
plot: x and y chromosomes are missing
Hello,
I have a list with gene names, fold changes (=expression level) and
chromosomes.
Names fold change chromosome
hz 1.5 2
If I plot fold change versus chromosome (or vice versa):
plot (ch, fc)
I see only the chromosomes with numbers but not those with letter (x and
y). What can I do?
A second question:
How can I add a single line in that plot at a certain
2010 Mar 16
1
G-test : log-likelihood ratio test
Dear Peter,
I am running your g.test() with the william's correction but I have a question about the input numbers. These are my data:
"Our data are consistent with those obtained using microarray comparative genome hybridization in that we found significantly fewer variants per Mb on the X compared to the autosomal chromosomes (152 versus 336 respectively, G = 93.4, P < 2e-16, df =
2009 Oct 21
0
drawing a line indicating extent of each factored data series in multipanel lattice xyplot
Hi,
Am am plotting aggregated frequency data (extracted from an RDBMS)
relating to DNA sequence features for each of the human chromosomes as
described in the table chromosomes below (the frequency data is in a
table 'hits' that has a value (or not) for each of a set of bins across
each chromosome).
I would like to mark the extent of the chromosome (according to the
length value in
2010 Jun 01
5
Help barplots
Dear All,
I am newbie to R, and I wanted to plot a barplots with R and in such a way
that It will also show me position which I can plot on the bar line.
Here is my code that I am using to plot,
> chromosome <- c(40.2, 35.6, 36.1, 29.6, 31, 29.6, 31, 29.4, 28.2, 23, 23,
28.2)
>barplot (chromosome, col="purple", xlab="Oryza sativa Chromosomes", border
= NA, space =
2008 Jun 09
2
using spec.pgram
Hi everyone,
first of all, I would like to say that I am a newbie in R, so I apologize in
advance if my questions seem to be too easy for you.
Well, I'm looking for periodicity in histograms. I have histograms of
certain phenomenons and I'm asking whether a periodicity exists in these
data. So, I make a periodogram with the function spec.pgram. For instance,
if I have a histogram h, I
2003 Jan 16
1
graphics
Dear R community,
I need to plot the results of some simulations I did using QTL
Cartographer. I am plotting LOD scores over three chromosomes. The three
plot have to be one next to the other.
The procedure I am using is:
par(mfrow=c(1,3))
plot(x$x, x$y, ylim=c(0,35), type="l", col="blue", las=1, xaxs="i",
yaxs="i", xlab="X Chromosome",
2011 Aug 10
2
Loops for repetitive task
Hello,
I have an R script that I use as a template to perform a task for multiple
files (in this case, multiple chromosomes).
What I would like to do is to utilize a simple loop to parse through each
chromosome number so that I don't have to type the same code over and over
again in the R console.
I've tried using:
for(i in 1:22){
etc..
}
and replacing each chromosome number with
2010 Dec 24
0
mcga 1.1 (machine coded genetic algorithms) package released
mcga 1.1 (machine coded genetic algorithms) package implements a genetic
algorithm optimisation tool with machine coded chromosomes.
The machine coded chromosomes stand for chromosomes that are not decoded and
encoded. The byte representation of 'double' type variables are crossed-over and
mutated. This is different from the binary coded and real coded genetic
algorithms. Linux and
2010 Dec 24
0
mcga 1.1 (machine coded genetic algorithms) package released
mcga 1.1 (machine coded genetic algorithms) package implements a genetic
algorithm optimisation tool with machine coded chromosomes.
The machine coded chromosomes stand for chromosomes that are not decoded and
encoded. The byte representation of 'double' type variables are crossed-over and
mutated. This is different from the binary coded and real coded genetic
algorithms. Linux and
2007 Dec 19
1
FW: cgh package
Hi,
I would like some extra information on the 'cgh' package in R. I noticed
that there isn't much activity regarding this package on the R and BioC
mailing list (I googled it).
I started using this package and I have few questions:
1/ As I have a custom tiling like array @8um features resolution (affy),
I have a lot of probes to work with. I'm assuming it is correct to
2009 Jan 15
3
How to create a chromosome location map by locus ID
Hi,
I'm trying to make a chromosomal map in R by using the locus. I have a list
of genes and their locus, and I want to visualise that so you can see if
there are multiple genes on a specific place on a chromosome. A example of
what I more or less want is below:
http://www.nabble.com/file/p21474206/untitled.JPG untitled.JPG
The genes and locus are here:
2008 Dec 09
3
How can I draw bars
I need to make a graphic to show problems on different parts of
chromosomes (think of a graphic showing the number of frayed threads
as colors along different parts of a worn out rope). I want to draw
bars going from left to right across a page and color different parts
of the bars in different shades. Each graphic will need to have
several bars of different lenghts corresponding to the
2010 May 14
1
finding the plot limits generated by default
I have two datasets that I would like to plot in a single figure. The first
plot is generated by a function that then takes a subset of the data. (It
is biological data so it is usually by chromosome e.g.
function(data1,subset="chr8") ) Since not only are the chromosomes different
sizes, but across different datasets there may be different numbers of
points for a single chromosome, I
2012 Mar 16
1
Identifying a change in events between bins
Hi there,
First off, despite this being my first post here, I have scanned the R help forums a lot in the past few months to help with some questions, so a big thank you to the community as a whole for being so helpful!
I'm somewhat of an R newbie, and have run up against a problem that I can't seem to solve. If anyone is able to help I would really appreciate it!
I'm looking at a
2010 Feb 18
2
3D plot
Dearl list,
can anyone point me to a function or library that can create a graph similar to the one in the following powerpoint presentation?
http://bmi.osu.edu/~khuang/IBGP705/BMI705-Lecture7.ppt
(pages 36-37)
In order to try to explain the graph, the way I see it in R terms is something like this:
the "p-q" axis is a vector of positions (for example, seq(0,5000000,1))
the
2013 Jan 08
1
Manhattan Plot
Hello,
I am trying to create a simple Manhattan plot for a small list of 200 SNPs
spread out in the genome in different genes.
I have tried different functions (using ggplot2 and a function created by
Stephen Turner, mhtplot etc.)-none of them work smoothly.
Does anyone have a simple way to create the plot (not for all 22
chromosomes)- with the x axis showing the genes name and not the
2012 Nov 05
2
fusion of overlapping intervals
Hello,
I have start and end coordinates from different experiments (DNase
hypersensitivity data) and now I would like to combine overlapping
intervals. For instance (see my test data below) (2) 30-52 and (3) 49-101
are combined to 30-101. But 49-101 and 70-103 would not be combined because
they are on different chromosomes (chr a and chr b).
Does anybody have an idea?
Thanks
Hermann
> df
2009 Jul 28
4
How to do poisson distribution test like this?
Dear R-listers,
I want to reperfrom a poisson distribution test that presented in a
recent-published biological research paper (Plant Physiology 2008, vol 148,
pp. 1189-1200). That test is about the occurrence number of a kind of gene
in separate chromosomes.
For instance:
The observed gene number in chromosome A is 36.
The expected gene number in chromosome A is 30.
Then, the authors got a