Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
removing indels in plink
Use grep to get SNPs that have ";" in the name:
>$ grep ";" myMap.txt | cut -f1 -d" " > myBadSNPs.txt
Then use plink with --exclude :
plink --file myFile
--exclude myBadSNPs.txt
--out myFileFiltered …
3
votes
How to create artificial or dummy phenotype data
Using wakefield package it is pretty easy, here is an example from GitHub page. This will create 500 dummy variables for id, race, age, etc. :
library(wakefield)
myDummyPheno <- r_data_frame(
n = …