R/ctwas_region_data.R
update_region_z.Rd
Adds or updates z-scores in region_data based on z_snp and z_gene. this will also update sid and gid based on z_snp and z_gene.
update_region_z(
region_data,
z_snp,
z_gene,
update = c("all", "snps", "genes"),
ncore = 1
)
a list of region gene IDs and SNP IDs and associated file names
A data frame with columns: "id", "z", giving the z-scores for SNPs.
A data frame with columns: "id", "z", giving the z-scores for genes.
options to update z-scores in region data. "all": update all data (default), "snps": updates SNP data only, "genes": updates gene data only.
The number of cores used to parallelize susie over regions