search for: zhengyu

Displaying 6 results from an estimated 6 matches for "zhengyu".

Did you mean: chengyu
2012 Oct 02
5
smoothScatter plot
...plot similar to sm1 (attached). The code I tried is: dcols <- densCols(x,y) smoothScatter(x,y, col = dcols, pch=20,xlab="A",ylab="B") abline(h=0, col="red") But it turned out to be s1 (attached) with big dots. I was wondering if anything wrong with my code. Thanks,Zhengyu -------------- next part -------------- A non-text attachment was scrubbed... Name: sm1.png Type: image/png Size: 23046 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121002/13c293ba/attachment-0004.png> -------------- next part --------------...
2012 Sep 26
3
replace string values with numbers
...CG GG -- -- AC -- AC CC AC -- AC I tried to replace all the GG with a value 3. Gene[Gene=="GG"]<-3 It always give me: Warning in `[<-.factor`(`*tmp*`, thisvar, value = 3) : invalid factor level, NAs generated Does any know if there is anything wrong with my code? Thanks, Zhengyu [[alternative HTML version deleted]]
2013 Feb 21
3
Ask for help: find corresponding elements between matrix
...q)) {m[i]=mat[seq[i]==1] } Error in m[i] = mat[seq[i] == 1] : replacement has length zero In addition: Warning message: In m[i] = mat[seq[i] == 1] : number of items to replace is not a multiple of replacement length > I was wondering if anyone can help me with this. Thanks in advance, Zhengyu eg. here is what I want > head(seq) [,1] [,2] [,3] [,4] [1,] 1 1 0 1 [2,] -1 1 0 1 [3,] 0 -1 -1 NA > head(mat) [,1] [,2] [,3] [,4] [1,] 0.1006950 0.3354360 0.1796888 1.3198761 [2,] 1.0948252 0.5350797 -0.5739454 0.274...
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
Hi Dimitry, Thanks for your kind response! Thanks for the commit message of Jung's patch, I found that the bug had been fixed in OpenJDK 12 by Zhengyu https://bugs.openjdk.java.net/browse/JDK-8205965 But only backported to 11. So Jung could backport it for OpenJDK 8, thanks a lot! But I argue that the root cause might be in the compiler side, why clang-3.9.1, gcc-6.4.1 couldn't reproduce the bug? And it might be work for clang-4.0 htt...
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...mitry > >> On 11 Sep 2018, at 03:38, Leslie Zhai <zhaixiang at loongson.cn> wrote: >> >> Hi Dimitry, >> >> Thanks for your kind response! >> >> Thanks for the commit message of Jung's patch, I found that the bug had been fixed in OpenJDK 12 by Zhengyu https://bugs.openjdk.java.net/browse/JDK-8205965 But only backported to 11. So Jung could backport it for OpenJDK 8, thanks a lot! >> >> But I argue that the root cause might be in the compiler side, why clang-3.9.1, gcc-6.4.1 couldn't reproduce the bug? And it might be work for...
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
Hi all, OpenJDK8 jdk8u-dev[1] is just able to work after compiled with LLVM 3.9.1 for X86: $ ./build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image/bin/java -version openjdk version "1.8.0-internal-debug" OpenJDK Runtime Environment (build 1.8.0-internal-debug-xiangzhai_2018_09_09_21_08-b00) OpenJDK 64-Bit Server VM (build 25.71-b00-debug, mixed mode) $ strings