Displaying 20 results from an estimated 28 matches for "siefker".
2017 Sep 28
3
Boxplot, formula interface, and labels.
I have data I'd like to plot using the formula interface to boxplot.
I call boxplot like so:
with(mydata, boxplot(count ~ geno * tissue))
I get a boxplot with x axis labels like "wt.kidney". I would like
to change the '.' to a newline. Where is this separator configured?
Thanks,
-Ed
2017 Sep 28
1
Boxplot, formula interface, and labels.
....
----------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77843-4352
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ista Zahn
Sent: Thursday, September 28, 2017 12:27 PM
To: Ed Siefker <ebs15242 at gmail.com>
Cc: r-help <r-help at r-project.org>
Subject: Re: [R] Boxplot, formula interface, and labels.
mybp <- boxplot(count ~ geno * tissue, data = mydata, plot = FALSE) mybp$names <- gsub("\\.", "\n", mybp$names)
bxp(mybp)
See ?boxplot for de...
2017 Nov 02
3
ggplot inside function doesn't plot
...in a function and not at
the console?
Shouldn't I be able to rely on what I do at the console working in a
script? Is this inconsistent behavior by design?
On Thu, Nov 2, 2017 at 11:54 AM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>> On Nov 2, 2017, at 9:27 AM, Ed Siefker <ebs15242 at gmail.com> wrote:
>>
>> I have a function:
>>
>> myplot <- function (X) {
>> d <- plotCounts(dds2, gene=X, intgroup="condition", returnData=TRUE)
>> png(paste("img/", X, ".png", sep=""))
>&...
2017 Sep 28
0
Boxplot, formula interface, and labels.
mybp <- boxplot(count ~ geno * tissue, data = mydata, plot = FALSE)
mybp$names <- gsub("\\.", "\n", mybp$names)
bxp(mybp)
See ?boxplot for details.
Best,
Ista
On Thu, Sep 28, 2017 at 12:40 PM, Ed Siefker <ebs15242 at gmail.com> wrote:
> I have data I'd like to plot using the formula interface to boxplot.
> I call boxplot like so:
>
> with(mydata, boxplot(count ~ geno * tissue))
>
> I get a boxplot with x axis labels like "wt.kidney". I would like
> to chang...
2017 Oct 24
0
as.data.frame doesn't set col.names
...9.20DKO
E11.5 F9.20DKO PEd2 E11.5 F9.20DKO PEd2 E11.5 F9.20DKO
E11.5 F9.20DKO j0J1 E11.5 F9.20DKO j0J1 E11.5 F9.20DKO
> colnames(samples)
[1] "quant_samples" "age" "geno"
Really, really confused.
On Tue, Oct 24, 2017 at 12:58 PM, Ed Siefker <ebs15242 at gmail.com> wrote:
> Why doesn't this work?
>
>> samples$geno <- as.data.frame(sapply(yo, toupper), col.names="geno")
>> samples
> quant_samples age sapply(yo, toupper)
> E11.5 F20het BA40 E11.5 F20het BA40 E...
2017 Oct 24
2
as.data.frame doesn't set col.names
Why doesn't this work?
> samples$geno <- as.data.frame(sapply(yo, toupper), col.names="geno")
> samples
quant_samples age sapply(yo, toupper)
E11.5 F20het BA40 E11.5 F20het BA40 E11.5 F20HET
E11.5 F20het BA45 E11.5 F20het BA45 E11.5 F20HET
2012 Feb 29
3
Broken R
Hi, I am running Debian Sid. I am having
trouble with the R packages.
Executing 'help()' or 'demo()' launches 'most' with no text.
'help.start()' works properly.
When I try to install a package, I get the following problem:
*********************************************************************
> install.packages("ctv")
Installing package(s) into
2018 May 18
3
Exporting to text files
I have dose response data analyzed with the package 'drc'.
'summary(mymodel)' prints my kinetic parameters. I want
that text in an ASCII text file. I want to get exactly what I
would get if I copied and pasted from the terminal window.
I've read the documentation on data export to text files here:
2018 May 18
0
drc, ggplot2, and gridExtra
On Fri, 18 May 2018, Ed Siefker wrote:
> I have dose response data I have analyzed with the 'drc' package.
> Using plot() works great. I want to arrange my plots and source
> data on a single page. I think 'gridExtra' is the usual package for
> this.
>
> I could use plot() and par(mfrow=...),...
2016 Nov 01
2
deadtime/keepalive not working as expected
My expectations are probably wrong, but I had to manually kill a process
to unlock a file when I think it should have killed itself.
I have deadtime set to 15 and keepalive at default (300). I opened a file on
my server in Excel, then shut down the machine. Hours later someone
tells me the file is locked.
Shouldn't keepalive have detected that the machine was off in 5 minutes?
2016 Nov 03
1
deadtime/keepalive not working as expected
On Tue, Nov 01, 2016 at 05:09:34PM -0700, Jeremy Allison via samba wrote:
> On Tue, Nov 01, 2016 at 05:16:47PM -0500, Ed Siefker via samba wrote:
> > My expectations are probably wrong, but I had to manually kill a process
> > to unlock a file when I think it should have killed itself.
> >
> > I have deadtime set to 15 and keepalive at default (300). I opened a file on
> > my server in Excel,...
2012 Mar 24
3
argument names inside a function?
Is there a way I can get the names of the arguments passed to a
function from within a function?
2012 Mar 28
2
lapply and paste
I have a list of suffixes I want to turn into file names with extensions.
suff<- c("C1", "C2", "C3")
paste("filename_", suff[[1]], ".ext", sep="")
[1] "filename_C1.ext"
How do I use lapply() on that call to paste()?
What's the right way to do this:
filenames <- lapply(suff, paste, ...)
?
Can I have lapply()
2018 May 18
3
drc, ggplot2, and gridExtra
I have dose response data I have analyzed with the 'drc' package.
Using plot() works great. I want to arrange my plots and source
data on a single page. I think 'gridExtra' is the usual package for
this.
I could use plot() and par(mfrow=...), but then I can't put the source
data table on the page.
gridExtra provides grid.table() which makes nice graphical tables. It
2017 Oct 23
2
A list of data frames and a list of colnames.
I have a list of file names, and a list of data frames contained in those files.
mynames <- list.files()
mydata <- lapply(mynames, read.delim)
Every file contains two columns.
> colnames(mydata[[1]])
[1] "Name" "NumReads"
> colnames(mydata[[2]])
[1] "Name" "NumReads"
I can set the colnames easily enough with a for loop.
for (i in
2012 Jun 04
2
Why do I have a column called row.names?
I'm trying to read in a tab separated table with read.delim().
I don't particularly care what the row names are.
My data file looks like this:
start stop Symbol Insert sequence Clone End Pair FISH
203048 67173930 ABC8-43024000D23 TI:993812543
TI:993834585
255176 87869359 ABC8-43034700N15 TI:995224581
TI:995237913
1022033 1060472
2018 May 18
0
Exporting to text files
?sink
On May 18, 2018 9:47:25 AM PDT, Ed Siefker <ebs15242 at gmail.com> wrote:
>I have dose response data analyzed with the package 'drc'.
>'summary(mymodel)' prints my kinetic parameters. I want
>that text in an ASCII text file. I want to get exactly what I
>would get if I copied and pasted from the terminal...
2017 Nov 02
0
ggplot inside function doesn't plot
> On Nov 2, 2017, at 9:27 AM, Ed Siefker <ebs15242 at gmail.com> wrote:
>
> I have a function:
>
> myplot <- function (X) {
> d <- plotCounts(dds2, gene=X, intgroup="condition", returnData=TRUE)
> png(paste("img/", X, ".png", sep=""))
> ggplot(d, aes(x=con...
2017 Nov 02
3
ggplot inside function doesn't plot
I have a function:
myplot <- function (X) {
d <- plotCounts(dds2, gene=X, intgroup="condition", returnData=TRUE)
png(paste("img/", X, ".png", sep=""))
ggplot(d, aes(x=condition, y=count, color=condition)) +
geom_point(position=position_jitter(w=0.1,h=0)) +
scale_y_log10(breaks=c(25,100,400)) +
ggtitle(X) +
2018 May 31
2
How to alpha entire plot?
I have two chromatograms I want plotted on the same axes.
I would like the plots to be transparent, so the first chart is
not obscured.
I have tried adjustcolor(..., alpha.f=0.3), the problem is that
my chromatogram is so dense with datapoints that they
overlap and the entire graph just ends up a solid color. The
second histogram still obscures the first.
Consider this example:
col1 <-