Re: [R] seqinr ?: Splitting a factor name into several columns. Dealing with metabarcoding data.

2014-10-19 Thread Anna Zakrisson Braeunlich
`•. . • `•. .• `•. .º Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden/Sverige Lives in Berlin. For paper mail: Katzbachstr. 21 D-10965, Berlin Germany/Deutschland E-mail: anna.zakris

Re: [R] seqinr ?: Splitting a factor name into several columns. Dealing with metabarcoding data.

2014-10-18 Thread Anna Zakrisson Braeunlich
very grateful for your help! I am no whiz at R and everything I know # is self-taught. Therefore, some basics can turn out to be quite some # obsatcles for me. # /Anna º`•. . • `•. .• `•. . º`•. . • `•. .• `•. .º`•. . • `•. .• `•. .º Anna Zakrisson Braeunlich PhD student

[R] seqinr ?: Splitting a factor name into several columns. Dealing with metabarcoding data.

2014-10-12 Thread Anna Zakrisson Braeunlich
)), B1298712 = factor(rep(LETTERS[1:2], each = 5))) # Many thank's and with kind regards Anna Zakrisson �`�. . � `�. .� `�. . �`�. . � `�. .� `�. .�`�. . � `�. .� `�. .� Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante

[R] lattice, latticeExtra: Adding moving averages to double y plot

2014-07-28 Thread Anna Zakrisson Braeunlich
pch would add symbols?!? Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden/Sverige Lives in Berlin. For paper mail: Katzbachstr. 21 D-10965, Berlin Germany/Deutschland E-mail

[R] ggplot2: removing empty factor levels in facet_grid

2014-02-03 Thread Anna Zakrisson Braeunlich
()) p Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden/Sverige Lives in Berlin. For paper mail: Katzbachstr. 21 D-10965, Berlin - Kreuzberg Germany/Deutschland E-mail: anna.zakris

[R] ggplot2: how to add new names to legend

2014-01-15 Thread Anna Zakrisson Braeunlich
., Aphanizomenon sp., N. spumigena)) with kind regards Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden/Sverige Lives in Berlin. For paper mail: Katzbachstr. 21 D-10965, Berlin

[R] ggplot2: geom_boxplot. Mapping aes factor but with different color scale and hatching

2013-11-13 Thread Anna Zakrisson Braeunlich
. For paper mail: Katzbachstr. 21 D-10965, Berlin - Kreuzberg Germany/Deutschland E-mail: anna.zakris...@su.se Tel work: +49-(0)3091541281 Mobile: +49-(0)15777374888 LinkedIn: http://se.linkedin.com/pub/anna-zakrisson-braeunlich/33/5a2/51b º`•. . • `•. .• `•. . º`•. . • `•. .• `•. .º

[R] saving as TIFF - problem with compression

2013-09-20 Thread Anna Zakrisson Braeunlich
, plotP, add.ylab2 = TRUE) dev.off() this works: tiff(file=myplot8.tiff, bg=white, res=800, width=13.3, height=9.45, units=cm, pointsize=6, compression = lzw) plot(1:100) dev.off() Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm

[R] ggplot2: two y-axis - any change?

2013-09-19 Thread Anna Zakrisson Braeunlich
lattice for every second plot. What are your thoughts on this for the future and are there already some possibilities in place? I prefer continusing using ggplot2 because it is brilliant. with kind regards Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences

[R] lattice: double y - problem changing axis color after doubleYScale

2013-09-19 Thread Anna Zakrisson Braeunlich
? such as: # --O-- Nc on the left y-axis (but with lty=1: I could not do a non-dotted line on the keybord). with kind regards Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden/Sverige Lives

[R] ggplot2: changing shapes facet_grid - special case.

2013-09-18 Thread Anna Zakrisson Braeunlich
, angle=00)) + theme(axis.title.x = element_text(size=20, colour=black, family=serif, angle=00))+ theme(axis.title.y = element_text(size=20, colour=black, family=serif, angle=90))+ facet_wrap( ~ year) p Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant

[R] ggplot2: changing strip text in facet_grid and a legend text problem

2013-09-18 Thread Anna Zakrisson Braeunlich
(axis.title.y = element_text(size=16, colour=black, family=serif, angle=90)) + scale_fill_discrete(guide = guide_legend(), labels=c(cyanobacteria, zooplankton)) p with kind regards Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University

[R] ggplot2: connecting medians of boxes using facet_wrap. Changing median marker.

2013-09-05 Thread Anna Zakrisson Braeunlich
connected and # and ses medians connected and zpl connected. Not cy-ses-zpl, but that is perhaps obvious. ### Thank you for your time! # with kind regards # A. Zakrisson Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante

Re: [R] ggplot2: connecting medians of boxes using facet_wrap. Changing median marker.

2013-09-05 Thread Anna Zakrisson Braeunlich
)) + theme(axis.text.y = element_text(size = 12, colour=black, family=serif, angle=00)) + geom_hline(yintercept=0, linetype=3) #draws dotted line at 0 p # Anna Zakrisson Braeunlich PhD student Department

Re: [R] lattice: bwplot: getting two plots into one.

2013-08-23 Thread Anna Zakrisson Braeunlich
, col=black), x = .35, y = 1.06, corner = c(2, 2)), #legend position ylab = expression(paste(,delta^{15}, N)), scales=list(x=list(at=(3*(1:12)-1), labels=c(A, B, C Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment

[R] lattice: bwplot: getting two plots into one.

2013-08-21 Thread Anna Zakrisson Braeunlich
, ..., group.number) { panel.bwplot(x + (group.number-1.8)/3, y, ...) }) trellis.focus(panel, 1, 1) panel.abline(h=0, lty=2) #lwd trellis.unfocus() trellis.focus(panel, 2, 1) panel.abline(h=0, lty=2) #lwd trellis.unfocus() Anna Zakrisson Braeunlich PhD student Department of Ecology

Re: [R] lattice: bwplot: getting two plots into one.

2013-08-21 Thread Anna Zakrisson Braeunlich
other - again, this will look terribel on this data, but will be OK for mine. Is this possible in lattice? Maybe using different data frames and make different plots and superpose them on top of each other? Ideas? ggplot2? with kind regards Anna Zakrisson Braeunlich PhD student Department

Re: [R] Lattice: bwplot - changing box colors in legend and plot when using panel.groups = function... and panel = panel.superpose

2013-08-14 Thread Anna Zakrisson Braeunlich
)), superpose.polygon=list(col=c(gray,white)), # legend par.sub=font.settings) as adviced by you. With kind regards Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden/Sverige Lives

[R] Lattice: bwplot - changing box colors in legend and plot when using panel.groups = function... and panel = panel.superpose

2013-08-13 Thread Anna Zakrisson Braeunlich
, ...) }) Anna Zakrisson Braeunlich PhD student Department of Ecology, Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden/Sverige Lives in Berlin. For paper mail: Katzbachstr. 21 D-10965, Berlin - Kreuzberg Germany/Deutschland E-mail: anna.zakris...@su.se