search for: chry

Displaying 20 results from an estimated 22 matches for "chry".

Did you mean: chr
2003 Aug 13
1
The desire for prettier and cheaper images ...
This might be easy (but I didn't find an answer in the archives). I'm trying to make nice looking images (using image()). To make them look nice (not jagged), it usually takes me at least 100x100 points. This can be slow for frequent redraws. Is there a smarter (less point intensive) way? I was thinking in terms of hexabins, for example, which for much less jagged looking regions,
2009 May 29
2
strsplit
I am trying split a string and use one part of it to label graphs. I am using strsplit for that. While I am able to split it, how do I access the separated parts. > filName<-"chrI_2223" >part<- strsplit(filName,"\\_") > part [[1]] [1] "chrI" "2223" > part[1] [[1]] [1] "chrI" "2223" I looked up the help archive but did
2010 Jun 07
1
average two sets of columns
Hi R experts. how can I average two sets of columns? dd <- data.frame(b = c("chr2", "chr1", "chrY", "chr13", "chrX"),         w=11:15, x = 1:5, y = c(8, 3, 9, 9,7),        z = c(1, 1, 1, 2, 8)) expected result for mean(w,x) and mean(y,z) is 1  chr2 6  4.5 2  chr1 7  2 3  chrY 8  5 4 chr13 9  5.5 5  chrX 10 7.5 Yu [[alternative HTML version deleted]]
2012 Jun 21
2
Simple Question?
...chr6 171115067 7 chr7 159138663 8 chrX 155270560 9 chr8 146364022 10 chr9 141213431 11 chr10 135534747 12 chr11 135006516 13 chr12 133851895 14 chr13 115169878 15 chr14 107349540 16 chr15 102531392 17 chr16 90354753 18 chr17 81195210 19 chr18 78077248 20 chr20 63025520 21 chrY 59373566 22 chr19 59128983 23 chr22 51304566 24 chr21 48129895 I want to drop the "chr" and order the chrom column in ascending order with X & Y at the end. I have tried converting the chrom into a character vector and using the strsplit function, but then I have to circle b...
2009 Apr 06
0
find_by_sql returns Strings! How to I type cast?
When i run find_by_sql the extra fields not in the Model are returned as Strings. What is the correct way to convert all the extra fields to their correct type? Is there a way to somehow define these extra fields in the Model class to ensure they will always be returned correctly? Or is their a better method. I will be using find_by_sql a lot so a clean solution would be good. (I am using
2001 Apr 26
2
browsing multiple workgroups on multiple subnets
Is it possible to browse multiple workgroups on two or more subnets? I have set up samba on either end of a VPN and can browse successfully from either end, but only in the workgroup that samba is configured for. Can Samba be a member of more than one workgroup at the same time? Looking in browse.dat I can see all the machines in samba's workgroup and also the other workgroups, but not the
2005 May 19
1
[LLVMdev] Re: Preferring cast over seteq with 0
>> Is there a pass that will transform this: >> %cc = seteq ushort %val, 0 >> >> into this: >> %cc = cast ushort %val to bool >> >> Would instcombine be the logical place to do this? >> >> In my situation, this bool value feeds a select instruction. Because >> casting inverts the condition, the select would have to switch the
2011 Apr 15
1
Whole genome searching of 100bp "D" sequence
...hr8", "chr9", "chr10", "chr11", "chr12", "chr13", "chr14", "chr15", "chr16", "chr17", "chr18", "chr19", "chr20", "chr21", "chr22", "chrX", "chrY") #access/group the by subset of annotation annotGr <- exons(txdb) #annotGr <- cds(txdb) wholeGenomeMatch <- function() { for(i in chrList) { #matches on plus strand matches.plus.strand <- matchPattern(query.plus, Hsapiens[[i]], fixed=FALSE, max.mismatch=5) mp...
2018 Apr 02
1
lintr error
library("lintr") Error: package or namespace load failed for 'lintr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'magrittr' library("magrittr") Error in library("magrittr") : there is no package called 'magrittr' session.Info(): R version 3.4.4 (2018-03-15) Platform:
2018 Apr 24
2
Rolling window difference for zoo time series
Hi, I have a 'zoo' time series as below : Zoo_TS = zoo(5:1, as.Date(Sys.time())+0:4) Now I want to calculate First order difference of order 1, rolling window basis i.e. (Zoo_TS[2] - Zoo_TS[1] ) / Zoo_TS[1] (Zoo_TS[3] - Zoo_TS[2] ) / Zoo_TS[2] ..... Is there any direct function available to achieve this? Thanks,
2018 May 14
1
Quandl data download error
Hi, I use Quandl package to download data from Quandl https://www.quandl.com Today when I tried to download data from there, I received below error : > Quandl('LME/PR_CO') Error in curl::curl_fetch_memory(url, handle = handle) : gnutls_handshake() failed: An unexpected TLS packet was received. I am using Quandl_2.8.0 in below platform R version 3.4.4 (2018-03-15) Platform:
2018 May 23
1
Wired result when I convert from Character to Numeric
Hi, Below is my simple result in R > x = "1282553.8210000000" > as.numeric(x) [1] 1282554 Any idea where all numbers in the decimal places (ie 8, 2, 1) are gone? Thanks,
2018 Jun 01
2
Unable to take correct Web-snapshot
Hi again, I use the *webshot* package to take snapshot from Webpage. However, when I try to take snapshot from* https://www.coinbase.com/ <https://www.coinbase.com/>*, this fails to take the full snapshot of that page. I tried following : > library(webshot) > webshot("https://www.coinbase.com/", 'aa.pdf') However in the pdf page, I done see the quotes which are
2018 Jun 01
3
values of list of variable names
Hi, I have searched the documentations of eval, substitute, expression, and I cannot make work something like the values of a list of variable names: lis <- ls(pattern="pr") # all variables with names containing 'pr' What is the mantra giving me the _values_ of the variables whose names are contained in 'lis'. eval(parse(ls(pattern="pr"))) will not do
2018 Jul 16
2
persp command
Dear R-devel mailing list, I am wondering whether the "theta" and "phi" parameters of the "persp" function in the graphics commands are named in error (the names seem to have been swapped). Also, in the documentation to "persp", reference is made to "colatitude" when the effect in the image is actually that of "latitude". Thank you,
2018 Jun 01
1
Unable to take correct Web-snapshot
Thanks for that information. However how can I use R to directly get data from that API? On Fri, Jun 1, 2018 at 8:36 PM Martin M?ller Skarbiniks Pedersen < traxplayer at gmail.com> wrote: > On 1 June 2018 at 15:08, Christofer Bogaso <bogaso.christofer at gmail.com> > wrote: > > Hi again, > > > > I use the *webshot* package to take snapshot from Webpage.
2018 Sep 12
1
Bug 17432 in readLines with R >= 3.5.0 still a problem
Bug 17432 (https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17432) is still a problem when using pipes for IPC. The bug is evident when calling R from another process and trying to communicate via StdIn. R will buffer the input and not read lines until the buffer is exceeded or StdIn is closed by the sending process. This prevents interactive communication between a calling process and a
2019 Jan 12
1
Installing Rstudio and shiny free server on Debian
----- Original Message ----- > From: "Dirk Eddelbuettel" <edd at debian.org> > To: "Chris Evans" <chrishold at psyctc.org> > Cc: "r-sig-debian" <r-sig-debian at r-project.org> > Sent: Saturday, 12 January, 2019 21:23:46 > Subject: Re: [R-sig-Debian] Installing Rstudio and shiny free server on Debian > On 12 January 2019 at 20:30,
2019 Jan 12
2
Installing Rstudio and shiny free server on Debian
First, as I'm here and owe it: huge thanks to Dirk and others who maintain the Debian packaging. Second: I realise these questions are not right on topic here and I will go to the rstudio community support next but I'm failing to find answers elsewhere on the web which makes me suspect they haven't come up there and might well be Debian specific so I suspect that if the expertise
2019 Jan 12
2
Installing Rstudio and shiny free server on Debian
Thanks Dirk, I wonder if I'm hitting problems you're not seeing not only because of running stretch/stable but also because of running the i386 version. I suspect most people are on 64 bit systems now. Anyway, I have managed to install Rstudio OK by going up to stretch-cran35. Rstudio wouldn't install from there: root at Toshiba-L750-Stretchi386:/etc/apt# apt-get install rstudio