Displaying 20 results from an estimated 787 matches for "mutations".
Did you mean:
mutation
2017 Jan 05
2
LLVM-based Mutation Testing, first results.
...Consider the following code:
void test() {
assert(sum(4, 5) > 0);
}
int sum(int a, int b) {
return a + b;
}
Here, one can produce few mutants:
int sum(int a, int b) {
return a * b;
}
int sum(int a, int b) {
return a;
}
Both mutants will uncover that the test is not exhaustive enough.
Mutations
### Our Results
We run our tool against two test targets from LLVM: IRTests and ADTTests. Based on our setup mutation score for them equals 43% and 66%, correspondingly.
We did not analyze all the results thoroughly, yet, but we plan to do so.
At the very moment, it is not clear for us how to pr...
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
2012 May 21
1
Complex text parsing task
Hello Everyone,
I have what I think is a complex text parsing task. I've provided some sample data below. There's a relatively simple version of the coding that needs to be done and a more complex version. If someone could help me out with either version, I'd greatly appreciate it.
Here are my sample data.
haveData <-
structure(list(profile_key = structure(c(1L, 1L, 2L, 2L, 2L,
2012 Apr 23
3
Selecting columns whose names contain "mutated" except when they also contain "non" or "un"
Hello All,
Started out awhile ago trying to select columns in a dataframe whose names contain some variation of the word "mutant" 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
2024 Oct 17
2
DPLYR Multiple Mutate Statements On Same DataFrame
Hi R Helpers,
I have been looking for an example of how to execute different dplyr mutate statements on the same dataframe in a single step. I show how to do what I want to do by going from df0 to df1 to df2 to df3 by applying a mutate statement to each dataframe in sequence, but I would like to know if there is a way to execute this in a single step; so simply go from df0 to df1 while executing
2024 Oct 18
1
DPLYR Multiple Mutate Statements On Same DataFrame
?s 22:50 de 17/10/2024, Sparks, John escreveu:
> Hi R Helpers,
>
> I have been looking for an example of how to execute different dplyr mutate statements on the same dataframe in a single step. I show how to do what I want to do by going from df0 to df1 to df2 to df3 by applying a mutate statement to each dataframe in sequence, but I would like to know if there is a way to execute this
2012 May 31
3
How can I get this function to work?
Hello All,
Can anyone tell help me understand why the function below doesn't work and how I can fix it? Below are some sample data, some code that works on individual rows of the data, and my attempt to translate that code into a function. My hope is to get the function working and then to apply it to the larger data frame using ddply() from the plyr package or possibly some other approach.
2024 Dec 17
1
Mutate issue help needed
Hi all,
It has been a year or so since I have run this code to plot temporal
activity.
It was working now I am getting an error related to MUTATE.
Error in UseMethod("mutate") :
? no applicable method for 'mutate' applied to an object of class
"character"
Any help/suggestions welcomed.
Tnx to all the R code gurus out there.
R v 4.4.0
Bat Dude
The saved code I
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 => B.1.1.529...
2020 Oct 30
3
Error: variable not found
Hello
I have a question. I made an r-script and did a few commands needed to make some new variables. They all work out well, and when I run the commands, the new variables appear in the dataset. I can also work with these new variables to make other new variables from them. Also, when I use summary(dataset), those new variables appear in the summary of the dataset.
But, when I do summary(new
2023 Dec 01
2
Mann Kendall mutation package?
...ation 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 be a package corresponding to this. I've tried
installing various permutations of the apparent name Sibada/sibadaR but
nothing comes up, so I'm not sure whether it even exists...
Thanks Nick Wray
[[alternative HTML version deleted]]
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
2024 Dec 17
1
Mutate issue help needed
Hi all,
It has been a year or so since I have run this code to plot temporal
activity.
It was working now I am getting an error related to MUTATE.
Error in UseMethod("mutate") :
? no applicable method for 'mutate' applied to an object of class
"character"
Any help/suggestions welcomed.
Tnx to all the R code gurus out there.
R v 4.4.0
Bat Dude
The saved 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
Hi,
I have the following data:
Path_Number <- 5
ID.Path <- c(1:Path_Number) # Make vector of ID's.
No_of_X <- sample(50:550, length(ID.Path), replace=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
2024 Dec 17
1
Mutate issue help needed
Am I being "thick" here
..
mutate(data, *# text
Is interpretated as mutate (data, *
The star is the character...
(Data is the line above being piped)
Why have the comments been *'d?. Is that the source error or a posting
error here?
On Tue, 17 Dec 2024, 14:57 Ivan Krylov via R-help, <r-help at r-project.org>
wrote:
> ? Tue, 17 Dec 2024 06:44:50 -0700
> Neotropical
2024 Dec 17
2
Mutate issue help needed
? Tue, 17 Dec 2024 06:44:50 -0700
Neotropical bat risk assessments <neotropical.bats at gmail.com> ?????:
> fname <- "Buzz.txt"
> All<- fname
I think the code needs a call to read.table() or another function to
read your data here. 'All' is still a string containing the name of the
file, not its contents.
> All %>%
> mutate(*#convert Date from chr
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
2023 Mar 21
1
preguntas múltiples y creación de variables
Buenas,
las imágenes no se ven por lo que no puedo reproducir tu ejemplo, pero tal vez lo siguiente te valga:
> library('stringr')
> d <- data.frame(respuestas = c('manzana, naranja', 'manzana, melocotón', 'naranja, melocotón'))
> d
respuestas
1 manzana, naranja
2 manzana, melocotón
3 naranja, melocotón
> d$manzana <-