Description Usage Arguments Details Value Note Author(s) References Examples
Returns a CuffGeneSet containing n genes with the most similar expression profiles to gene/profile x.
1 2 | ## S4 method for signature 'CuffSet'
findSimilar(object, x, n,distThresh,returnGeneSet=TRUE,...)
|
object |
A object of class 'CuffSet' |
x |
A 'gene_id' or 'gene_short_name' from which to look up an expression profile OR a vector of expression values to compare all genes (vector must have same length and order of 'samples') |
n |
Number of similar genes to return |
distThresh |
A thresholding value on which to filter results based on JS-distance (e.g. A distThresh of 1.0 will return all genes, 0.0 will return those genes with 'perfect identity' to the gene of interest.) |
returnGeneSet |
A logical value whether to return a CuffGeneSet object [default] or a distance-ranked data frame of similar genes. The latter is useful if you want to explore the returned list based on distances. |
... |
Additional arguments to fpkmMatrix call within findSimilar (e.g. fullnames=T) |
By default, returns a CuffGeneSet object with n similar genes. This may change in the future.
A CuffGeneSet object of n most similar genes to x.
None
Loyal A. Goff
None
1 2 | a<-readCufflinks(system.file("extdata", package="cummeRbund"))
mySimilarGenes<-findSimilar(a,"PINK1",10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.