Displaying 2 results from an estimated 2 matches for "sim1000g".
2020 Oct 29
1
R: sim1000G
Hi,
I am using the sim1000G R package to simulate data for case/control study.
I can not figure out how to manipulate this code to be able to generate 10%
or 50% causal SNPs in R.
This is whole code provided as example on GitHub:
library(sim1000G)
vcf_file = "region-chr4-357-ANK2.vcf.gz" #nvariants = 442, ss=1000...
2020 Nov 01
0
R: sim1000G
...head() functions on the data, and
show us the results?
(5)
Is there a boolean-style variable in the data, indicating whether each
row is casual or non-casual?
B.
On Fri, Oct 30, 2020 at 10:37 PM Berina Zametica UNI
<s0bezame at uni-bonn.de> wrote:
>
> Hi,
>
> I am using the sim1000G R package to simulate data for case/control study.
> I can not figure out how to manipulate this code to be able to generate 10%
> or 50% causal SNPs in R.
>
> This is whole code provided as example on GitHub:
>
> library(sim1000G)
> vcf_file = "region-chr4-357-ANK2.vcf.gz...