Skip to content

Commit

Permalink
use a smaller file to actually run SKAT
Browse files Browse the repository at this point in the history
  • Loading branch information
akotlar committed Aug 29, 2018
1 parent 6c71950 commit 66c8414
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/SKAT_template.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ if(!is.null(file.cov)) {
yCov <- famCov$Phenotype
sex <- famCov$Sex

obj<-SKAT_Null_Model(yCov ~ x1 + x2 + x3 + x4 + sex, out_type="D", n.Resampling=1000, type.Resampling='bootstrap')
obj<-SKAT_Null_Model(yCov ~ x1 + x2 + x3 + x4 + sex, out_type="D") #n.Resampling=1000, type.Resampling='bootstrap'
} else {
famCov <- Read_Plink_FAM(file.fam, Is.binary=TRUE)

yCov <- famCov$Phenotype
sex <- famCov$Sex

obj<-SKAT_Null_Model(yCov ~ sex, out_type="D", n.Resampling=1000, type.Resampling='bootstrap')
obj<-SKAT_Null_Model(yCov ~ sex, out_type="D") #n.Resampling=1000, type.Resampling='bootstrap'
}


Expand Down
2 changes: 1 addition & 1 deletion bin/run_skat_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mkdir -p ./log;
# * needed instead of ./ to prevent ./filename.annotaiton.tsv.gz
annotation=1000g_100klines_example_old.annotation.tsv.gz;
annotationBaseName=1000g_100klines_example.annotation;
annotationVcfGz=1000g_100klines_old_example.annotation.vcf.gz;
annotationVcfGz=1000g_100klines_old_example.annotation.20klines.vcf.gz;
annotationSampleList=1000g_100klines_example.annotation.sample_list;

fam=1000g_100klines_example.fake.fam
Expand Down
Binary file not shown.

0 comments on commit 66c8414

Please sign in to comment.