select_output: Selected results table by P value

Description Usage Arguments Value See Also Examples

View source: R/select_output.R View source: R/R/select_output.R

Description

select_output returns selected SNP information by P value.

Usage

1
select_output(input, pv_thold = 1)

Arguments

input

Input results from xlink fit.

pv_thold

P value threshold for output.

Value

It returns estimated parameters, confidence interval, P value, MAF and Best model information.

See Also

xlink_fit{xlink} for input results.

Examples

1
2
3
4
Covars<-c("Age","Smoking","Treatment")
SNPs<-c("snp_1","snp_2","snp_3")
result<-xlink_fit(os="OS",ostime ="OS_time",snps=SNPs,gender ="gender",covars=Covars, option =list(type="all",MAF_v=0.05) ,model="survival", data = Rdata)
select_output(input=result,pv_thold=10^-5)

qiuanzhu/xlink documentation built on May 17, 2019, 12:11 a.m.