extracting other params from logistic
This commit is contained in:
parent
ada205962b
commit
8f272bdc17
3 changed files with 94 additions and 31 deletions
|
@ -388,7 +388,6 @@ pvals_logistic = sapply(gene_snps_unique,function(m){
|
|||
mut = grepl(m,raw_data$all_muts_gene)
|
||||
#print(table(dst, mut))
|
||||
model<-glm(dst ~ mut , family = binomial)
|
||||
#or_logistic = exp(summary(model)$coefficients[2,1])
|
||||
pval_logistic = summary(model)$coefficients[2,4]
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue