I am regressing a gene on another gene subset. Then I use stepAIC to reduce
the number of explanatory genes. How do I get the index of the NON-omitted
variables, so that I could analyse them?

    gene_subset=c(y=genes[,i], genes[,other_genes]);
    reduced_model=stepAIC(y~.,data=gene_subset,trace=false);

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to