Description Usage Arguments Details Value See Also
Get SNPs from a data frame.
1 |
df |
Data frame containing SNPs. If |
row |
Integer. Optional. Specifies row from which SNP shall be obtained. Works best
with a data frame listing counts only as from |
top |
Integer. Optional. Specifies number of most frequent SNPs to return. |
col.snp |
Symbol. Column containing SNPs. |
col.pmid |
Symbol. Column containing PubMed IDs. Necessary if the data frame provided is not a count data frame. |
Get SNPs from a data frame.
If a data frame containing SNP counts as from count_snp()
is provided,
these SNPs are specified by the row they are listed in. To get the SNPs by
row, set the row
argument.
If a data frame with PubMed IDs is provided, these SNPs are specified by
their top occurrence. To get the SNPs by frequency, set the top
argument.
If neither row
nor top
is provided, row
is automatically set to 1
.
String or character vector containing SNPs.
extract_snp()
,
count_snp()
,
subset_snp()
Other get functions:
get_distinct_mir_df()
,
get_distinct_mir_vec()
,
get_mir()
,
get_pmid()
,
get_shared_mir_df()
,
get_shared_mir_vec()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.