Skip to contents

Link the pca score and expression for each pathway genes for each block Requires rownames that are identitcal to block labels loaded previously.

Usage

link_pwpca_block(
  pa_block,
  pca_cell_df,
  merge_scexpr,
  snp_gene_df,
  rawPathway_list
)

Arguments

pa_block

snp blocks for pathway.

pca_cell_df

pca matrix for cell types.

merge_scexpr

mean expression for merged cell types of single cell data.

snp_gene_df

Data frame of snp mapping to gene.

rawPathway_list

Raw pathway list before filter

Value

pathway block including "x" "y" "snps" "include_in_inference"