sushie.io.output_alphas(result: List[SushieResult], snps: DataFrame, output: str, trait: str, compress: bool, method_type: str, purity: float) DataFrame[source]

Output full credible set (before pruning for purity) file *alphas.tsv (see Full Credible Set with Alphas).

Parameters:
result: List[SushieResult]

The sushie inference result.

snps: DataFrame

The SNP information table.

output: str

The output file prefix.

trait: str

The trait name better for post-hoc analysis index.

compress: bool

The indicator whether to compress the output files.

method_type: str

Which method the result belongs to: sushie, mega, or meta.

purity: float

The purity threshold.

Returns:

A data frame that outputs to the *alphas.tsv file (pd.DataFrame).

Return type:

pd.DataFrame


Last update: Oct 27, 2024