SelectSigPCs | R Documentation |
This function is to run regression (linear/logistic) based on the number of PCs, and characteristics of samples.
SelectSigPCs(BetaPCA, Sample, pheno, is_continuous = F)
BetaPCA, |
a dataframe, combined PCs and meta data |
Sample |
sample/donor name |
pheno |
phenotype to compare, binary e.g. diseaseStat; continuous e.g. BMI |
is_continuous |
T or F, if pheno is cpontinuous |
a dataframe: PC_number, PC, PC_pval, ordered by PC_pval
sigPCs <- SelectSigPCs(BetaPCA, Sample, pheno, is_continuous=F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.