Description Usage Arguments Examples
View source: R/basic_function_in_cluster_analysis.R
Filter snp value based on maf_value
1 | snpFilterBasedMAF(snp_df, filter_type, maf_value, unique_sign = FALSE)
|
snp_df |
snp_ds is a dataframe obtained based on preprocessSNP |
filter_type |
"smaller" or "bigger" |
maf_value |
MAF of snp |
unique_sign |
"TRUE" or "FALSE". The default is FALSE. If unique_sign is TRUE, the unqiue snp will be returned |
1 2 3 | data('gene_feature0')
snp_df <- preprocessSNP(gene0 = 'YPR184W', gene_feature = gene_feature0, snp_files_dir0 = "data/gene_snp/")
snp_df1 <- snpFilterBasedMAF(snp_df, filter_type="bigger", maf_value=0.05, unique_sign=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.