search for: mutate

Displaying 20 results from an estimated 739 matches for "mutate".

2017 Jan 05
2
LLVM-based Mutation Testing, first results.
Hello, everybody. We are working on a tool for mutation testing. The work is still in progress and far away from being done. However, we have got some results already. And we would like to share them with you. But, let me give you a brief introduction first. ### Mutation Testing In a nutshell, Mutation Testing is a way to evaluate a quality of a test suite. The approach suggests introducing a
2013 Aug 28
1
Welcome to the "R-help" mailing list
Good Afternoon, My name is Gabriel, I'm doing an analysis if there is increase or decrease in dependence on the mutated genes, using 3 or more genes using the fisher exact test.I performed with success an analysis for two genes using fisher.test( ). example of the 2x2 contigency table: Gene A mutated | Gene A normalGene B mutated| 26 | 12-...
2012 May 21
1
Complex text parsing task
...re(c(9L, 12L, 16L, 13L, 10L, 7L, 6L, 3L, 2L, 4L, 14L, 15L, 1L, 5L, 8L, 11L), .Label = c(" ... If patient KRAS result is wild type, they will start Erbitux. ... (Several lines of material) ... Ordered KRAS mutation test 11/11/2011. Results are still not available. ... ", " ... KRAS (mutated). Therefore did not prescribe Erbitux. ... ", " ... KRAS (mutated). Will not prescribe Erbitux due to mutation. ... ", " ... KRAS (Wild). ...", " ... KRAS results are in. Patient has the mutation. ... ", " ... KRAS results still pending. Note that patient...
2012 Apr 23
3
Selecting columns whose names contain "mutated" except when they also contain "non" or "un"
...using code like: names(KRASyn)[grep("muta", names(KRASyn))] The idea then would be to add together the various columns using code like: KRASyn$Mutant_comb <- rowSums(KRASyn[grep("muta", names(KRASyn))]) What I discovered though, is that this selects columns like "nonmutated" and "unmutated" as well as columns like "mutated", "mutation", and "mutational". So I'd like to know how to select columns that have some variation of the word "mutant" without the "non" or the "un". I've been loo...
2012 May 31
3
How can I get this function to work?
...l need to order kras mutation testing ", " ordered kras testing waiting for results ", " kras test results pending note that patient was negative for lynch mutation ", " kras results still pending note that patient was negative for lynch mutation ", " kras mutated will not prescribe erbitux due to mutation ", " kras mutated therefore did not prescribe erbitux ", " kras wild ", " tumor is negative for mutation ", " tumor is wild type patient is eligible to receive eribtux ", " if patient kras result is wil...
2023 Jan 30
0
Covid Mutations: Cumulative?
Dear R-Users, Did anyone follow more closely the SARS Cov-2 lineages? I have done a quick check of Cov-2 mutations on the list downloaded from NCBI (see GitHub page below); but it seems that the list contains the cumulative mutations only for B.1 => B.1.1, but not after the B.1.1 branch: # B.1 => B.1.1 seems cumulative diff.lineage("B.1.1", "B.1", data=z) # but B.1.1
2020 Oct 30
3
Error: variable not found
...cript: attach(ipumsi_00008_dta) library(tinytex) library(dplyr) library(ggplot2) library(tidyr) library(knitr) library(forcats) library(mice) library(pander) library(ggcorrplot) library(lubridate) # true/false code when sploc is greater than zero and sprule is equal to 1 or 2 ipumsi_00008_dta <- mutate(ipumsi_00008_dta, rule_union = sploc>0 & (sprule==1 | sprule==2)) ## creating numeric code for rule_union & rule_unionn: 1 when sploc is greater than zero and sprule is equal to 1 or 2, 0 if not. ## This is neccesary because otherwise it is a logical code and we cannot multiply with it,...
2023 Dec 01
2
Mann Kendall mutation package?
Hello - does anyone know whether there are any packages for Mann-Kendall mutation tests in R available? The only one I could find online is this MK_mut_test: Mann-Kendall mutation test in Sibada/sibadaR: Sibada's accumulated R scripts for next probably use to avoid reinventing the wheel. (rdrr.io) <https://rdrr.io/github/Sibada/sibadaR/man/MK_mut_test.html> but there doesn't seem to
2010 Jul 09
2
[LLVMdev] ValueSymbolTable's mutators are private?
Hello, Why are ValueSymbolTable's mutators all private? I can't seem to find a way to add a symbol to the table without using one of them. It looks like a bug to me since there is no way to use it otherwise. --Sam
2010 Jul 09
1
[LLVMdev] ValueSymbolTable's mutators are private?
Hi Chris, I was thinking that CreateValueName() was the way to add a symbol to a symbol table. Perhaps I'm thinking about this wrong. Here's what I've got: I've got a string generated by the parser which is constant. I need to add it to the symbol table so that, on starting the second pass of my compiler, I can dump all of the string constants to be generated as code. I
2010 Jul 09
0
[LLVMdev] ValueSymbolTable's mutators are private?
On Jul 9, 2010, at 12:02 PM, Samuel Crow wrote: > Hello, > > Why are ValueSymbolTable's mutators all private? I can't seem to find a way to > add a symbol to the table without using one of them. It looks like a bug to me > since there is no way to use it otherwise. The mutators are things like Value::setName() -Chris
2012 Nov 27
2
Stuck trying to modify a function
...eplace=TRUE) # X <- split(sample(1:10000, sum(No_of_X), replace=TRUE), rep(ID.Path, No_of_X)) Y <- lapply(X,function(x) sample(x, round(runif(1, min=10, max=50)))) X and Y are both lists, and I've made the following function to work on that data as part of a simulation I'm building: Mutate<-function(x){ l<-0 for(i in x){ l2<-0 l<-l+1 for(i in x[[l]]){ l2<-l2+1 if(runif(1) < 0.9) ifelse(runif(1) <0.5, x[[l]][l2] <- x[[l]][l2]+1, x[[l]][l2] <- x[[l]][l2]-1) } } return(x) } I call this with Effectors<-Mutate(X) The funct...
2019 Aug 25
10
Conventions: Use of globals and main functions
In R scripts (as opposed to packages), even in reproducible scripts, it seems fairly conventional to use the global workspace as a sort of main function, and thus R scripts often populate the global environment with many variables, which may be mutated. Although this makes sense given R has historically been used interactively and this practice is common for scripting languages, this appears to disagree with the software-engineering principle of avoiding a mutating global state. Although this is just a rule of thumb, in R scripts, the frequent u...
2023 Mar 21
1
preguntas múltiples y creación de variables
...uesta está > separada por ",". > > Así está > > [image: image.png] > > Hago esto para poder separar en columnas las distintas respuestas: > > > > > > *mult_bas_dat<-mult_bas_dat %>%  separate_rows(bases, sep = ",") %>% > mutate(basedatos = str_squish(bases)) %>%  select(basedatos)* > ## múltiple a columnas ## > > > > > > *mult_bas_dat_final<-mult_bas_dat %>%  separate_rows(basedatos, sep = ",") > %>%  mutate(basedatos = str_squish(basedatos), # Para quitar los espacios &g...
2012 Jul 20
8
sti_object.becomes(Parent) unexpectedly mutating the receiver
...ver, it doesn''t say that the type attribute is changed on the receiver just by the method call. Should the docs be updated to say that the receiver''s type attribute will be changed to the class it becomes, or should becomes be changed so that it doesn''t automatically mutate the receiver? Either option would be an easy fix, though the latter would break backwards compatibility. I am using becomes with things like form_for and content_tag_for so I''m using the new object returned by becomes as opposed to the mutated object. Here''s an example of the...
2017 Mar 17
2
RFC: (in-principle) native unquoting for standard evaluation
...b`, from which @ does not suffer). Would this extension require that function authors explicitly enable auto-quoting support? I somewhat envisioned functions seeing the resolved unquoted object (within their calling scope) so that they could retain their standard defintions when not using @. In my mutate example, mutate itself could simply be the NSE version, so mutate(mtcars, z = mpg) would work as normal, but x = "mpg" mutate(mtcars, z = @x) would produce the same result (x may be changing within a loop or be defined through a formal argument). Here, @x would resolve to...
2015 Nov 24
3
Functions have two types, one can be mutated but not the other
Function has its own FunctionType* member as well as a Type* member that it inherits from GlobalValue. The latter can be mutated but not the former, leading to potential strange inconsistencies. While I realize using mutateType is probably going to trigger a bunch of "you're doing it wrong" replies, it seems like mutateType, as a necessary evil, should be virtual and do the right wrong thing for Functions too...
2006 Nov 07
2
Which genetic optimization package allows customized crossover and mutation operation
Hi, I am looking for genetic optimization package that allow to define my own chromosome solution and crossover/mutation opoerations. I checked genoud and genopt, not with much effort of 'cause, with no luck. Any one can shed some light on this? thanks.
2024 Mar 22
1
Problem with new version of R: Mutated vocals
Dear ladies and gentlemen, I have recently installed the latest version of R (4.3.3) for windows. Now I have the following problems with mutated vowels like ?, ?, etc. Here is an example: If I type the command: Dir <- "C/Users/macho/Documents/_LVn/Experimentelle ?bungen" in the R console there is no problem. However, if I put the same command into a source file (e.g. Test.r) and call this file from R (via the source command),...
2009 Sep 21
1
Pattern Matching within Vector?
Dear mailing list, I'm stuck with a tricky problem here - at least it seems tricky to me, being not really talented in pattern matching and regex matters. I'm analysing amino acid mutations by position and type of mutation. E.g. (fictitious example) in position 92, I can find L92V, L92MV, L92I... L is in this example the wild-type amino-acid, and everything behind the position number is