Description Usage Arguments Value Examples
Filter and sort the given dataset (must be of counts, output by getSNPCounts
) based on user-
defined parameters.
1 | queryCounts(countsData, minLength = 0, minCounts = 0, sortBy = "counts")
|
countsData |
A dataframe. Output of |
minLength |
The minimum length of genes to filter by. Default is 0 (removes nothing). |
minCounts |
The minimum number of observed SNPs to filter by. Default is 0 (removes nothing). |
sortBy |
A string that decides the sorting setting of the output. If none of the below arguments are used, use default sorting. Potentional arguments:
|
A subset of the countsData data frame that satisfies the user inputs.
1 2 3 4 | countsData <- getSNPCounts(snpPositions)
topHits1 <- queryCounts(countsData, 10000, 150)
topHits2 <- queryCounts(countsData, 10000, 150, sortBy="length")
topHits3 <- queryCounts(countsData, 10000, 150, sortBy="asdf")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.