Description Usage Arguments Value Author(s) Examples
The function computes the statistic, i.e. number of qtl-hit genes in the selected gene set.
1 |
geneset |
geneset is a vector of characters representing the names of genes/ gene ids selected from the whole gene list by using a gene selection method. |
genelist |
genelist is a N by 3 dataframe/ matrix (genes/gene ids as row names); where, N represents the number of genes in the whole gene set: first coloumn represnting the chromosomal location of genes: second coloumn representing the start position of genes in terms of basepairs: third coloumn representing the end position of genes in terms of basepairs. |
qtl |
qtl is a Q by 3 dataframe/matrix (qtl names/qtl ids as row names);where, Q represents the number of qtls: first coloumn represnting the chromosomal location of qtls: second coloumn representing the start position of qtls in terms of basepairs: third coloumn representing the end position of qtls in terms of basepairs. |
The function returns a numeric value of the statistic 'qtl-hit' representing the number of qtl-hits by the genes in the selected gene set.
Samarendra Das
1 2 3 4 5 6 7 8 9 | data(rice_salt)
data(genelist)
data(qtl_salt)
x=as.data.frame(rice_salt[-1,])
y=as.numeric(rice_salt[1,])
geneset= GeneSelect(x, y, s=50, method="t-score")$selectgenes
genelist=as.data.frame(genelist)
qtl=as.data.frame(qtl_salt)
qtlhit(geneset, genelist, qtl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.