select_output {xlink}R Documentation

Selected results table by P value

Description

select_output returns selected SNP information by P value.

Usage

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

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)

[Package xlink version 1.0.1 Index]