Displaying 20 results from an estimated 11241 matches for "sequence".
2012 Jul 16
2
Finding and manipulation clusters of numbers in a sequence of numbers
Hi,
I have the following sequence:
in <- c(0, 0, 0, 2, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 0, 2, 0, 0, 2)
>From this sequence I would like to get to the following sequence:
out <- c(0, 0, 0, 3, 3, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,
0, 11, 11, 11,...
2004 Dec 29
6
numeric(0)
Dear all,
I am trying to calculate a score for a string sequence consisting of
the following four letters: ACGT.
I have got a matrix giving the scores for each pair of letters.
So for example the string ACCT has got the pairs: AC, CC and CT.
The matrix has got the following form:
names<-c("A","C","G","T");
mscore<-...
2009 Nov 03
2
Issue with %in% - not matching identical rows in data frames
Hi folks
I have two data frames. I know that the nth (let's say the 7th) row
in the first data frame (sequence) is there in the second
(today.sequence). When I try to check that by doing 'sequence[7,]
%in% today.sequence', I get all FALSE when it should be all TRUE.
I'm certain I'm making some trivial mistake. Any solutions?
The code to recreate the data frames and see for yourself is:
-...
2012 Jun 13
2
[LLVMdev] llvm-mc problem after a pass
...some problem with llvm-mc on a program after applying a pass:
../../../build/Release+Asserts/bin/clang -emit-llvm -c -I./testprof/ -I./src/headers/ -I../libtommath-0.42.0/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O0 -DLTC_NO_ASM -DUSE_LTM -DLTM_DESC -o src/pk/asn1/der/sequence/der_encode_sequence_ex.bc src/pk/asn1/der/sequence/der_encode_sequence_ex.c
../../../build/Release+Asserts/bin/opt -reg2mem -load ../../../build/Release+Asserts/lib/LLVMobfuscation.so -flattening src/pk/asn1/der/sequence/der_encode_sequence_ex.bc -o src/pk/asn1/der/sequence/der_encode_sequence_ex.b...
2010 Jan 02
4
caculate the frequencies of the Amino Acids
may some one please help me to sort this out, i am trying to writ a R code
for calculating the frequencies of the amino acids in 9 different sequences,
i want the code to read the sequence from external text file, i used the
following code to do so:
x<-read.table("sequence.txt",header=FALSE)
then i defined an array for 20 amino acids as following:
AA<-c('A','C','D','E','F','G','...
2003 Jan 29
3
Analyzing an unbalanced AB/BA cross-over design
...39;F','F','F','F','F','F','S','S','S','S','S','S','S','S','S','S','S','S','S','F','F','F','F','F','F'))
sequence<-as.factor(c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2))
example<-data.frame(outcome,subject,period,treatment,sequence)
The recommended SAS code equals
PROC GLM DATA=example;
CLASS subject period treatment sequence;
MODEL outcome = treatment sequence period subject(sequence);
RAND...
2013 Nov 07
1
win7 domain pc to standalone samba server
...10
[snipped]
smb_signing_sign_pdu: sent SMB signature of
[0000] 42 53 52 53 50 59 4C 20 BSRSPYL
smb_signing_activate: user_session_key
[0000] 21 53 41 A7 EB 74 5B 55 37 58 31 34 89 5E 55 10 !SA..t[U 7X14.^U.
smb_signing_activate: NULL response_data
smb_signing_md5: sequence number 1
smb_signing_check_pdu: BAD SIG: wanted SMB signature of
[0000] 7D 4C 0A 44 B2 8E F0 1E }L.D....
smb_signing_check_pdu: BAD SIG: got SMB signature of
[0000] 42 53 52 53 50 59 4C 20 BSRSPYL
smb_signing_md5: sequence number 4294967292
s...
2012 Jun 13
0
[LLVMdev] llvm-mc problem after a pass
...lem with llvm-mc on a program after applying a pass:
>
> ../../../build/Release+Asserts/bin/clang -emit-llvm -c -I./testprof/ -I./src/headers/ -I../libtommath-0.42.0/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O0 -DLTC_NO_ASM -DUSE_LTM -DLTM_DESC -o src/pk/asn1/der/sequence/der_encode_sequence_ex.bc src/pk/asn1/der/sequence/der_encode_sequence_ex.c
> ../../../build/Release+Asserts/bin/opt -reg2mem -load ../../../build/Release+Asserts/lib/LLVMobfuscation.so -flattening src/pk/asn1/der/sequence/der_encode_sequence_ex.bc -o src/pk/asn1/der/sequence/der_encode_sequence...
2017 Feb 09
6
[PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method
On Thu, 9 Feb 2017, Vitaly Kuznetsov wrote:
> +#ifdef CONFIG_HYPERV_TSCPAGE
> +static notrace u64 vread_hvclock(int *mode)
> +{
> + const struct ms_hyperv_tsc_page *tsc_pg =
> + (const struct ms_hyperv_tsc_page *)&hvclock_page;
> + u64 sequence, scale, offset, current_tick, cur_tsc;
> +
> + while (1) {
> + sequence = READ_ONCE(tsc_pg->tsc_sequence);
> + if (!sequence)
> + break;
> +
> + scale = READ_ONCE(tsc_pg->tsc_scale);
> + offset = READ_ONCE(tsc_pg->tsc_offset);
> + rdtscll(cur_tsc);
> +...
2017 Feb 09
6
[PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method
On Thu, 9 Feb 2017, Vitaly Kuznetsov wrote:
> +#ifdef CONFIG_HYPERV_TSCPAGE
> +static notrace u64 vread_hvclock(int *mode)
> +{
> + const struct ms_hyperv_tsc_page *tsc_pg =
> + (const struct ms_hyperv_tsc_page *)&hvclock_page;
> + u64 sequence, scale, offset, current_tick, cur_tsc;
> +
> + while (1) {
> + sequence = READ_ONCE(tsc_pg->tsc_sequence);
> + if (!sequence)
> + break;
> +
> + scale = READ_ONCE(tsc_pg->tsc_scale);
> + offset = READ_ONCE(tsc_pg->tsc_offset);
> + rdtscll(cur_tsc);
> +...
2007 Aug 21
2
(Most efficient) way to make random sequences of random sequences
Hi,
I was wondering the what would be the (most efficient) way to generate
a sequence
of sequences, i mean:
if I have 1,2 and 3.
I'd like to generate a sequence of length N*3 (N ~ 1,000,000 or more)
Where random permutations of the sequence 1,2,3 follow each other.
i.e 1,2,3,1,3,2,3,2,1
/!\ The thing is that there should never be twice the same number of
in the same sub-se...
2012 Jul 12
1
How to find frequent sequences.
I have independent event sequences for example as follows :
Independent event sequence 1 : A , B , C , D
Independent event sequence 2 : A, C , B
Independent event sequence 3 :D, A, B, X,Y, Z
Independent event sequence 4 :C,A,A,B
Independent event sequence 5 :B,A,D
I want to able to find that most common sequence patters...
2010 Apr 15
2
sequence clustering and assembly
Dear all,
please could you suggest any R functions or packages (or external programs),
that
a. take as input a large number (> 10 000) of short 20-30 nt sequences, and
do
sequence assembly, to reconstruct larger (extended) 30-50 sequences ?
b. take as input a larger number of sequences (100 000 - 1 mil) and cluster
these
sequences in distinct classes based on the sequence similarity ?
thanks a lot,
bogdan
[[alternative HTML version deleted]]
2017 Feb 09
2
[PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method
...Kuznetsov wrote:
>> > +#ifdef CONFIG_HYPERV_TSCPAGE
>> > +static notrace u64 vread_hvclock(int *mode)
>> > +{
>> > + const struct ms_hyperv_tsc_page *tsc_pg =
>> > + (const struct ms_hyperv_tsc_page *)&hvclock_page;
>> > + u64 sequence, scale, offset, current_tick, cur_tsc;
>> > +
>> > + while (1) {
>> > + sequence = READ_ONCE(tsc_pg->tsc_sequence);
>> > + if (!sequence)
>> > + break;
>> > +
>> > + scale = READ_ONCE...
2017 Feb 09
2
[PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method
...Kuznetsov wrote:
>> > +#ifdef CONFIG_HYPERV_TSCPAGE
>> > +static notrace u64 vread_hvclock(int *mode)
>> > +{
>> > + const struct ms_hyperv_tsc_page *tsc_pg =
>> > + (const struct ms_hyperv_tsc_page *)&hvclock_page;
>> > + u64 sequence, scale, offset, current_tick, cur_tsc;
>> > +
>> > + while (1) {
>> > + sequence = READ_ONCE(tsc_pg->tsc_sequence);
>> > + if (!sequence)
>> > + break;
>> > +
>> > + scale = READ_ONCE...
2008 May 23
1
van der Corput sequences
In package fOptions, there are functions that generate
Halton sequences.
The van der Corput sequence for base 2 is a particular case
of the Halton sequence generated by:
n <- 8 # anything here...
x <- runif.halton(n, 1)
In fact, x <- runif.halton(n, dim) will generate the van der Corput
sequences for the base b as the i-th prime number in x[,i].
(in othe...
2014 Apr 08
2
[LLVMdev] Why "I = ++I" instead of "++I" in COFFDump.cpp ?
...gt;
> > > > Is there a reason for writing "I = ++I" instead of "++I" ?
> >
> > I don't see how it's a bug because functionality isn't impacted by
> > this. It's simply a redundant assignment.
>
> It is a bug as it violates the sequence point rule. One memory location
> shall not be modified twice.
Not in C++11, and (probably) not in C11. The side-effect of pre-increment
is sequenced before its value computation, and its value computation is
sequenced before the assignment. (C++ doesn't have sequence points any
more, and...
2005 Apr 14
2
Using idmap_rid backend, cannot browse home directory from XP
...pipe_dir(297)
[11340]: request location of privileged pipe
[2005/04/14 10:11:15, 3]
nsswitch/winbindd_user.c:winbindd_getpwnam(126)
[11340]: getpwnam domain1\ssmith
[2005/04/14 10:11:15, 3]
lib/charcnv.c:convert_string_allocate(576)
) convert_string_allocate: Conversion error: Illegal
multibyte sequence(µ
[2005/04/14 10:11:15, 3]
nsswitch/winbindd_group.c:winbindd_getgroups(1003)
[11340]: getgroups DOMAIN1\ssmith
[2005/04/14 10:11:15, 0]
sam/idmap_rid.c:rid_idmap_get_id_from_sid(461)
rid_idmap_get_id_from_sid: no suitable range
available for sid:
S-1-5-21-1844237615-1644491937-725345543-513...
2007 Jan 26
2
Why do return or visible don´t return my objekt?
Dear RRRRRrrrrrrrrlist!
I?ve got two lists which contain sets of DNA-sequences. They look
something like this:
List of 33
$ Cunonia_atrorubens : chr [1:247] "t" "t" "n" "t" ...
$ Cunonia_balansae : chr [1:254] "t" "c" "c" "c" ...
$ Cunonia_capensis...
2010 Jan 25
1
sequence of equal-length numbers (for filenames)
Dear R-users,
I'd like to create filenames in a mask "file000.dat" numbered from 1 to e.g.
123. The last problem I'm dealing with is creating the sequence of numbers
with equal length, i.e. 001, 002,.... 023, 024,.... 122, 123.
The closest I got is by a repetition:
Sequence <- c(1:123)
for(i in c(1:length(Sequence))) {
print(
paste(rep("0",
max(nchar(as.character(Sequence)))-nchar(as.character(Sequence[i]))),
as.character(Seque...