read_fusion | R Documentation |
Function to format TWAS summary statistics for T-SEM
read_fusion(files,trait.names=NULL,binary=NULL,N=NULL,perm=FALSE, ...)
files |
List of FUSION files. |
trait.names |
What names to use when naming the beta and SE columns for each trait |
binary |
Vector specifying whether each trait is binary (TRUE) or continuous (FALSE) |
N |
The sample size to use when backing out the betas and SEs from FUSION Z-statistics. This should reflect the sum of effective sample size for binary traits |
perm |
Whether you want to use the permutation test p-values from FUSION. Default = FALSE |
The function combines and formats FUSION TWAS summary statistics for subsequent T-SEM analyses. The function returns a single data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.