select_output: Selected results table by P value

Description Usage Arguments Value See Also Examples

View source: 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
5
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)

xlink documentation built on Aug. 21, 2019, 1:05 a.m.