sis.obj: Sure Independent Screening S3 Class and Methods

Description Usage See Also Examples

View source: R/sis.obj.R

Description

sis.obj is a S3 class to store PGS sure independent screening results. Internally used by sis and pgsfit. sis.obj contains:

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sis.obj(name, estimate, stderr, p.value, bh.fdr, bonferroni.p, method)

## S3 method for class 'sis.obj'
print(sis.obj)

## S3 method for class 'sis.obj'
plot(sis.obj)

## S3 method for class 'sis.obj'
coef(sis.obj, p = 1, fdr = 1, bonferroni = 1)

See Also

see sis to run sure independent screening procedures and obtain sis.obj object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Print sure independent screening object:
sis.obj

## Plot sure independent screening object (histogram of p-values and Q-Q plot):
plot(sis.obj)

## Return sure independent screening results:
coef(sis.obj)  # complete results
coef(sis.obj, fdr = 0.05)  # results with BH.FDR < 0.05

#For more information, please visit: https://github.com/YinanZheng/PGS/wiki/Example:-miRNA-expression-and-lung-function

YinanZheng/PGS documentation built on May 29, 2021, 10:07 p.m.