Displaying 15 results from an estimated 15 matches similar to: "boxplot with "cut""
2012 Jul 10
0
Thanks! RE: boxplot with "cut"
Thanks for your help, Rui! That works and will save me a lot of trouble.
--Kelly
-----Original Message-----
From: Rui Barradas [mailto:ruipbarradas at sapo.pt]
Sent: Tuesday, July 10, 2012 2:24 AM
To: Vining, Kelly
Cc: r-help at r-project.org
Subject: Re: [R] boxplot with "cut"
Hello,
Maybe this iss what you're looking for. GD is your data.frame.
multi.boxplot <-
2010 Apr 27
2
Passing values to a function when using apply
Hi All
Slightly lost on how should I pass values to a function I am calling
using apply.
apply( veh_drg_animal1[ , c("readCount","gene_length")] ,1, stats() )
here stats is a custom function where I want to pass two parameters
from data frame as shown and a third argument which is constant per
instance of apply.
stats <- function ( arg1,agr2,agr3) {
## computation
2004 Apr 19
3
encoding from 22050Hz source
Hi!
I'd like to encode from a 22050 Hz source wav file (only in that case),
but i get the following error message: "Invalid floating point operation"
I use delphi:
vorbis_encode_init_vbr(vi,2,22050,0.5)
.
.
.
While (i < readCount div 4) Do
Begin
buffer[0][i] := smallInt((pArray(@readbuffer)[i shl 2 + 1] shl 8) or pArray(@readbuffer)[i shl 2 + 0]) / 32768;
2004 Feb 13
10
Encoding into MONO (delphi)
Hi!
I have a problem. I hope, you can help me.
I use a Delphi conversion (from Aleksandr Shamray),
but it doesn't work when I'd like to convert a *.RAW into a
mono *.ogg file.
vorbis_encode_init_vbr(vi, 1, 44100, 0.5); //because of the mono
the program stops at line:
//* uninterleave samples */
.
.
buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or
2011 Aug 30
1
column names with rbind loop
Hello R users.
This is a fairly basic question:
I am concatenating data from sets of files in a directory using a loop. The column names in all files are exactly the same. My understanding is that rbind takes column names from the first file it reads. However, my output is showing that the column names are treated as a first data row, not treated as headers.
I compile my file names like this:
2011 Aug 30
0
Problem resolved: thanks! RE: column names with rbind loop
Thanks to both Weidong and David for the help! By implementing both of your suggestions I was able to make this work. I did end up putting header=TRUE for both read operations.
--Kelly
________________________________________
From: David Winsemius [dwinsemius at comcast.net]
Sent: Tuesday, August 30, 2011 1:16 PM
To: Vining, Kelly
Cc: Weidong Gu; r-help at r-project.org
Subject: Re: [R] column
2024 Aug 09
1
a fast way to do my job
Dear R users,
I am running the following code below, the gem751be.rpkm is a dataframe with dim of 751 samples by 35164 variables, 73 phenotypic variables in the furst to 73rd column and 35091 genomic variables or genes in the 74th to 35164th columns. What I need to do is to calculate the residuals for each gene using the simple linear regression model of genelist[i] ~ purity2;
The following
2011 Dec 09
1
Fixed! Thanks all:RE: scatterplot to boxplot translation?
Thanks to David and Jorge - both of your helpful suggestions got me to the desired endpoint. In case anyone else has this question: I boxplotted my y variable data, but did the "cut" operation on the x variable in order to conserve the order of the y data. I see another suggestion coming in from another user that basically says this.
So, my working line of code was:
boxplot(count$RPKM
2013 Mar 13
1
Failed to locate 'weave' output file / vignette product does not have a known filename extension
Hello,
I'm seeing three different vignette-related errors with recent
versions of R-3.0.0 alpha.
First, with the package BitSeq
(http://bioconductor.org/packages/2.12/bioc/html/BitSeq.html), I get
the following when trying to build the package:
Error: processing vignette ?BitSeq.Rnw' failed with diagnostics:
Failed to locate the ?weave? output file (by engine ?utils::Sweave?)
for
2012 May 25
0
plotting sorted factors
Hello,
The problem is that the factors are not orderd by the row number. If you
want to check their order, use
str(sortdata)
and you'll see Santa-Rosa was attributed factor level 4 (in the output,
first variable, the 3rd and 4th).
Try the following.
sortdata <- read.table(text="
county year x1 x2 x3 x4 x5 x6 x7 rank
141 Escambia 2002 6.50
2011 Feb 24
1
reshaping list into a contingency table
Hi all,
I have been struggling with this problem for a few days.
I have a data table like this:
gene rpkm1 diff1 rpkm2 diff2
gene1 23 50 13 120
gene2 111 220 827 1200
gene3 75 998 71 910
And I want to re-format it so that, for each gene, I have a 2x2 contingency
table, such as:
gene rpkm diff
gene1 23 50
gene1 13 120
gene2 111 220
gene2 827
2010 Apr 29
1
Using plyr::dply more (memory) efficiently?
Hi all,
In short:
I'm running ddply on an admittedly (somehow) large data.frame (not
that large). It runs fine until it finishes and gets to the
"collating" part where all subsets of my data.frame have been
summarized and they are being reassembled into the final summary
data.frame (sorry, don't know the correct plyr terminology). During
collation, my R workspace RAM usage goes
2008 May 23
0
Wine release 1.0-rc2
This is release 1.0-rc2 of Wine, a free implementation of Windows on Unix.
What's new in this release (see below for details):
- Bug fixes only, we are in code freeze.
Because of lags created by using mirrors, this message may reach you
before the release is available at the public sites. The sources will
be available from the following locations:
2012 Jul 14
2
Help for Fisher's exact test
Hi, R-help,
I have a group of data from RNA-seq want to be analyzed by Fisher's
exact test in R. I want to compare the significant difference of about
30,0000 individuals in two different samples, and I have no idea how to use
R, so could you please give me some suggestions or the scripts for
Fisher's exact test? Thank you very much.
Best,
Guanfeng Wang
[[alternative HTML version
2007 Apr 02
2
FLAC 24 bit test results
Thanks to those who sent in results for the 24 bit FLAC test I created.
Results were received for Windows, Linux, and Intel Mac. All results
showed the identical poor compression ratio with the given test file.
This indicates that the issue is likely not related to a certain
platform/compiler. I also tested FLAC with various other options like
integer only and turning off ASM optimizations (to