- sushie.io.output_cs(result: List[SushieResult], meta_pip: List[Array] | None, snps: DataFrame, output: str, trait: str, compress: bool, method_type: str) DataFrame[source]
 Output credible set (after pruning for purity) file
*cs.tsv(see Credible Set).- Parameters:
 - result: List[SushieResult]¶
 The sushie inference result.
- meta_pip: List[Array] | None¶
 The meta-analyzed PIPs from Meta SuShiE.
- 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.
- Returns:
 A data frame that outputs to the
*cs.tsvfile (pd.DataFrame).- Return type:
 pd.DataFrame
  
    
      Last update:
      Oct 27, 2024