Select cross-tissue via SODA
Arguments
- j
the index of gene
- gam
TODO
- E
list of cell types, each element is a matrix of size n_sample x n_gene
- dat
a list with three named elements.
- bed
a matrix of size n_sample x n_snp
- bim
a data frame with n_snp rows, each row is the info for the snp
- pos
a list of genes, each element is a vector containing the SNP index that locate in the gene, and it corresponds to each row of
E.info
. It can be derived fromE.info
anddat
.- nF0
TODO
- verbose
whether to print running messages
- allow_empty
whether to allow empty variable set