Hi all,
I was wondering how could I generate random strings with controlled bias. For instance, to generate various trimer sequences with distribution of A 50%, C 20%, G 20%, T 10%.
Thanks,
Chun
May be this is what you are looking for:
set.seed(984646)
# Number of random words to generate
N
Hey Chun,
You can do that in Excel. If you populate cell A1 with the following:
=RAND()
You will generate a random number that goes from 0 to 1.
On cell A2 you can paste the following formula:
=IF(A1
@ Thomas Volken , Thanks for your codes. Very helpful
@ Igor Paploski , Thanks for your code in excel.
Hi, I have problems with running gel electrophoresis. I have tried agarose gel electrophoresis and native PAGE. I have two proteins, which have molecular weights of ~30kDa and ~180kDa and two...
03 March 2021 4,275 4 View
Hi, im trying to make a projection in a 3d comsol model. I have a non uniforme chanel and my intention is to get the average tempreture in the y-z cross section and se the average tempreture...
02 March 2021 4,624 4 View
I am going to have a expression cloning of mammalian gene by using shuttle plasmid to transforming the E.coli However I don't know I should only inserting the Coding sequence ,or I can...
28 February 2021 5,440 3 View
Hi every body I need to collect datasets from different source to work on recommendation system algorithms, could you advise me how collect data?
27 February 2021 7,063 7 View
To be specific, I want to conduct an IV regression in stata with the following three equations. EQ1: Y1 ~Y2 Y3 X EQ2: Y2 ~ Z1 EQ3: Y3 ~ Z2 Both Y2 and Y3 are endogenous. However, Z1 and Z2 are...
23 February 2021 6,266 3 View
We have thin roots of from 1 year old different species of plants. We are looking into anatomical details of the roots. What's the best method to preserve and process the roots once they are...
23 February 2021 1,898 1 View
Hello I try to install and run the VMD software on windows 10 (64-bit).It doesn`t work and it is closed when I run it. I checked all of tutorials, videos and documents. But they did not work...
22 February 2021 8,211 3 View
About crack modeling in ABAQUS: Mode I (pure-tensile cracking) and Mode II (pure-shear cracking), these assumptions may be accruing in theoretical approach (ABAQUS) not practical in Lab....
19 February 2021 6,156 1 View
17 February 2021 8,533 2 View
Several times I lost my sample during freeze drying. There was no solid or powder in the vial after freeze drying. I'm sure sample contained solute because i took its NMR spectrum. I covered the...
15 February 2021 6,749 2 View
Hi everyone, I am conducting research for my Master's thesis. I am using PROCESS by Johnson-Neyman to analyze my Moderator model. I test the relationship between Public Service Motivation and...
03 March 2021 2,350 2 View
I have an experiment with 28 participants The independent variable is the times 1, 2, 5, and 10 used as the cross hairs during a task These 4 times were tested using 4 different blocks, each...
03 March 2021 9,692 2 View
I'm in the process of doing a meta-analysis and have encountered some problems with the RCT data. One of my outcom is muscle strength. In one study, I have three different measurements of muscle...
25 February 2021 7,603 3 View
Does data from contact tracing help in establishing patterns of behavior and social interactions that lead to infections? There are cases here in the Philippines where patients have no travel...
25 February 2021 9,002 13 View
Hi all, I have data with two levels: lets think of the classic example of students and schools. When running the analysis in SPSS and selecting the Random Effects, we can select (we can or we...
24 February 2021 7,379 4 View
Hi, I have a simple question. I am hoping to perform a power analysis/sample size estimation for an RCT. We will be controlling for baseline symptoms, and using post-treatment or change scores as...
19 February 2021 2,648 23 View
16 February 2021 4,747 3 View
if we assume 20 is the upper bound of an objective function (OF) based on permutation a square matrix (nxn) , The minimum value of the OF=22, then we run a random operator to compute the OF by...
14 February 2021 6,056 5 View
i want to implement pseudo random number generator in matlab ...i request to every one if someone have code these PRNG share with me SplitMix Permuted Congruential Generator (PCG) Random...
14 February 2021 6,828 7 View
I want to perform a simulation study to examine the consistency property of parameters of a new distribution through the quantile function. The simulation study will contain many replicates (say...
10 February 2021 180 3 View