Displaying 18 results from an estimated 18 matches similar to: "Matrix problem to extract animal associations"
2013 Jul 02
2
Recoding variables based on reference values in data frame
I'm new to R (previously used SAS primarily) and I have a genetics data
frame consisting of genotypes for each of 300+ subjects (ID1, ID2, ID3,
...) at 3000+ genetic locations (SNP1, SNP2, SNP3...). A small subset of
the data is shown below:
SNP_ID SNP1 SNP2 SNP3 SNP4 Maj_Allele C G C A Min_Allele T A T G ID1
CC GG CT AA ID2 CC GG CC AA ID3 CC GG
nc
AA
2016 Apr 04
2
multiple bar plot annotation text labelling
Readers,
The attempt is to create a bar plot with text labels adjacent to each
datum value.
Data file:
1,3,A
1,8,B
1,1,C
1,9,D
2,5,C
2,4,E
2,2,F
2,0,G
testbarplot<-read.csv('data1.csv', header=FALSE)
barplot(axes=FALSE, ann=FALSE, horiz=TRUE, testbarplot[,2], ylab=
'group', xlab= '(x values)', space=c(1,0,0,0, 1,0,0,0))
text(testbarplot[,2], testbarplot[,1],
2016 Apr 04
0
multiple bar plot annotation text labelling
Use only plain text emails. Don't attach file types that will be stripped. See the footer at the bottom of your email for more information.
Do give us the data using dput():
> dput(testbarplot)
structure(list(V1 = c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L), V2 = c(3L,
8L, 1L, 9L, 5L, 4L, 2L, 0L), V3 = structure(c(1L, 2L, 3L, 4L,
3L, 5L, 6L, 7L), .Label = c("A", "B",
2013 Feb 11
1
Centos 6 and VLAN-ID7 for vDSL (Telekom)
AHOI!
I've big trouble by setting up CentOS 6.3 for my new vDSL.
As I've found out, the German Telekom is using VLAN7 for her
internet-(data) connections. => http://workaround.org/blog/vdsl
O.K. what I've done:
The NIC where's my DSL-modem is connectet is eth0.
cat /etc/sysconfig/network-scripts/ifcfg-eth0
# device for vDSL-modem
DEVICE=eth0
HWADDR=00:30:1B:14:08:67
2015 Aug 17
4
Way to guarantee generated indirect call is via memory?
I'd like to generate an indirect call instruction that will end up as a call via memory and not register.
The address of the target is a constant.
For example, something like
%25 = load i64, i64* @get_Now
%26 = inttoptr i64 %25 to i64 ()*
%27 = call i64 %26()
may end up as
mov rsi,qword ptr [00007FF658381070]
call rsi
or as
call qword ptr [00007FF658381070]
If I want to
2014 Jan 19
5
how to replace <NA> values
Dear R community
I have a large data set contain some empty cells. Because of that, may be I am wrong, <NA> values are produced.
Now I want replace both empty and <NA> values with zero.
Elder1 <- data.frame(
ID=c("ID1","ID2","ID3","ID6","ID8"),
age=c(38,35,"",NA,NA))
Output I am expecting
ID age
ID1 38
ID2 35
2018 Aug 27
2
Testing LLVM XRay
Hi All,
I am trying to test run clang XRay tool. I was following the steps at [1].
But the log file does not seem to get generated. According to the
instructions I used 'fxray-instrument' switch when compiling and then
specified 'patch_premain=true' at XRAY_OPTIONS. Is there anything else that
I need to do? I am on a trunk build of clang. Could that be it? I am on
clang version
2009 Jul 01
10
Forcing puppetd ask puppemasterd for new changes
Guys, I seriously could not find this topic in the documentation.
What do you do when you need to force puppetd hosts get the new
settings from puppetmasterd?
What I found was only sending USR1 signal to the client process in
order to make it refresh its configuration from the master.
But I find it a bit inconvenient for a large amount of hosts.
There is also puppetrun which, if I understand
2011 Sep 25
4
Trouble creating and adjacency matrix
Hello all,
I'm having trouble creating an adjacency matrix.
Basically, I need to turn the following distance matrix into an adjacency
matrix based on whether values are >1.5 or not. If they are >1.5, then the
returned value should be 0. If they are =<1.5, then the returned value
should be 1.
DistanceMatrix:
A B C D E
[1,]
2011 Sep 26
3
Nearest neighbour in a matrix
Hello all,
I am brand new to R and doing an exercise for a class. I need to find the
nearest neighbour for points in the following matrix:
> DistanceMatrix
x1 x2 x3 x4 x5
[1,] 0.000000 2.828427 1.581139 2.236068 2.000000
[2,] 2.828427 0.000000 1.581139 4.123106 2.000000
[3,] 1.581139 1.581139 0.000000 2.549510 2.121320
[4,] 2.236068 4.123106 2.549510
2006 Aug 16
1
help about agnes
Hello.
I have the following distance matrix between 8 points:
[1,] 0.000000 3.162278 7.280110 8.544004 7.071068 9.899495 6.403124 8.062258
[2,] 3.162278 0.000000 5.000000 6.403124 4.472136 8.944272 6.082763 8.062258
[3,] 7.280110 5.000000 0.000000 1.414214 1.000000 5.000000 4.242641 5.830952
[4,] 8.544004 6.403124 1.414214 0.000000 2.236068 4.123106 4.472136 5.656854
[5,] 7.071068 4.472136
2017 Nov 15
2
Plugin virtual, Horde BAD IMAP QRESYNC not enabled
Hi there!
This is the horde-imap. Hope this helps more to find out, what's the
problem with QRESYNC and dovecots virtual-plugin
------------------------------
>> Wed, 15 Nov 2017 08:45:21 +0000
>> Connection to: imap://aldebaran.local/ Server connection took 0,0031
>> seconds.
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE XDOVECOT
2003 Jul 10
1
The question is on Symmetry model for square table.
Please help,
I tried a program on S-plus, and it worked. Also I tried the same
program on R but not worked. Here is the programme. I put it in a
function form. The model and assumption are at the bottom.
where
counts<-c(22,2,2,0,5,7,14,0,0,2,36,0,0,1,17,10)
which is name.data, i is row size and j is the column size.
symmetry
function(i, j, name.data)
{
row <- (c(1:i))
col <-
2017 Nov 15
0
Plugin virtual, Horde BAD IMAP QRESYNC not enabled
It seems that horde forgots to re-enable QRESYNC after connection
timeout. Regarding the connection timeout, do you see anything in
dovecot logs?
Aki
On 15.11.2017 12:51, Jakob Sch?rz wrote:
> Hi there!
>
> This is the horde-imap. Hope this helps more to find out, what's the
> problem with QRESYNC and dovecots virtual-plugin
>
> ------------------------------
> >>
2017 Nov 14
4
Plugin virtual, Horde BAD IMAP QRESYNC not enabled
Hi there!
I'm new on this list, so hello to all!
First i want say, that dovecot is a really great mailserver. I use it
since many years for my private usecase. I'm planning to setup a new
Mailserver, so i'm fiddeling around to understand dovecot better and get
a "perfect" Mailserver. (Linux and Win10) Outlook, k9mail and the
gmail-app on android.
I want to leave google
2012 Jun 24
0
nouveau _BIOS method
Hi to all!
I have a problem with a nvidia geforce 520mx [NVd0 generation card
(0x0d9110a1)] i have on my notebook (samsung 3 series).
In practice i'm not able to use it with bumblebee and bbswitch.
The dmesg message is:
[ 13.507435] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 13.507440] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 13.507448] nouveau
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
AUTHORS | 17 ++++++
README | 10 +++
conf/ovirt-agent | 12 ++++
conf/ovirt-db-omatic | 12 ++++
conf/ovirt-host-browser | 12 ++++
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking