CRAN
vcfR 1.8.0
Manipulate and Visualize VCF Data
Released Apr 17, 2018 by Brian J. Knaus
Dependencies
vegan 2.5-1 ape 5.1 magrittr 1.5 Rcpp memuse 4.0-0 stringr 1.3.0 viridisLite 0.3.0 pinfsc50 1.1.0 dplyr 0.7.4 tibble 1.4.2
Facilitates easy manipulation of variant call format (VCF) data. Functions are provided to rapidly read from and write to VCF files. Once VCF data is read into R a parser function extracts matrices of data. This information can then be used for quality control or other purposes. Additional functions provide visualization of genomic data. Once processing is complete data may be written to a VCF file (*.vcf.gz). It also may be converted into other popular R objects (e.g., genlight, DNAbin). VcfR provides a link between VCF data and familiar R software.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>vcfR</artifactId> <version>1.8.0-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:vcfR')
Test Results
This package was last tested against Renjin 0.9.2635 on Apr 26, 2018.
- AD_frequency-examples
- INFO2df-examples
- INFO2df.INFO2df_example_works
- INFO2df.metaINFO2df_example_works
- addID-examples
- addID.addID_works
- check_keys-examples
- chromR_example-examples
- chromR_methods.chromR_length
- chromR_methods.chromR_names<-
- chromo_plot__functions.chromR_plot_when_DP_==_NA
- chromo_plot__functions.chromR_plot_when_MQ_==_NA
- chromo_plot__functions.chromo_works,_vcf_with_no_variants,_seq_or_ann_E1
- chromo_plot__functions.chromo_works,_vcf_with_no_variants,_seq_or_ann_E2
- create_chromR_functions.Create_a_null_chromR_E1
- create_chromR_functions.Create_a_null_chromR_E2
- create_chromR_functions.Create_a_null_chromR_E3
- create_chromR_functions.Create_a_null_chromR_E4
- create_chromR_functions.Create_a_null_chromR_E5
- create_chromR_functions.Create_a_null_chromR_E6
- create_chromR_functions.Create_a_null_chromR_E7
- create_chromR_functions.Create_a_null_chromR_E8
- create_chromR_functions.Create_a_null_chromR_E9
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E1
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E10
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E11
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E12
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E13
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E2
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E3
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E4
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E5
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E6
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E7
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E8
- create_chromR_functions.We_can_create_a_Chrom,_no_sequence_or_annotation_E9
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E1
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E10
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E2
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E3
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E4
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E5
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E6
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E7
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E8
- create_chromR_functions.We_can_create_a_chromR,_no_annotation_E9
- create_chromR_functions.We_can_create_a_chromR,_no_sequence,_annotation_greater_than_vcf_POS
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E1
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E10
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E2
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E3
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E4
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E5
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E6
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E7
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E8
- create_chromR_functions.We_can_create_a_chromR,_no_sequence_E9
- create_chromR_functions.We_can_create_a_chromR_E1
- create_chromR_functions.We_can_create_a_chromR_E10
- create_chromR_functions.We_can_create_a_chromR_E2
- create_chromR_functions.We_can_create_a_chromR_E3
- create_chromR_functions.We_can_create_a_chromR_E4
- create_chromR_functions.We_can_create_a_chromR_E5
- create_chromR_functions.We_can_create_a_chromR_E6
- create_chromR_functions.We_can_create_a_chromR_E7
- create_chromR_functions.We_can_create_a_chromR_E8
- create_chromR_functions.We_can_create_a_chromR_E9
- create_chromR_functions.We_implemented_the_mask
- create_chromR_functions.chromR2vcfR_works
- create_chromR_functions.preserve_=_TRUE_preserves_the_original_mask__E1
- create_chromR_functions.preserve_=_TRUE_preserves_the_original_mask__E2
- extract_gt-examples
- freq_peak-examples
- freq_peak_plot-examples
- getFIX-examples
- is_het-examples
- masplit-examples
- pairwise_genetic_diff-examples
- peak_to_ploid-examples
- pop_gen_sum-examples
- queryMETA-examples
- rePOS-examples
- testthat
- vcfR_example-examples
- vcfR_methods.[samples_=_character]
- vcfR_methods.[samples_=_integer]
- vcfR_methods.[samples_=_logical]
- vcfR_methods.[samples_=_numeric]
- vcfR_methods.nrow_works
- vcfR_methods.show_no_gt
- vcf_functions.We_can_create_an_empty_vcfR_object_E1
- vcf_functions.We_can_create_an_empty_vcfR_object_E2
- vcf_functions.We_can_create_an_empty_vcfR_object_E3
- vcf_functions.We_can_create_an_empty_vcfR_object_E4
- vcf_functions.We_can_create_an_empty_vcfR_object_E5
- vcf_functions.We_can_create_an_empty_vcfR_object_E6
- vcf_functions.We_can_create_an_empty_vcfR_object_E7
- vcf_functions.We_can_create_an_empty_vcfR_object_E8
- vcf_functions.vcfR_subsetters_works_E1
- vcf_functions.vcfR_subsetters_works_E2
- vcf_functions.vcfR_subsetters_works_E3
- vcf_functions.vcfR_subsetters_works_E4
- write_vcf_R_functions.write_var_info_works_for_chromR_objects_E1
- write_vcf_R_functions.write_var_info_works_for_chromR_objects_E2
- write_vcf_R_functions.write_var_info_works_for_chromR_objects_E3
- write_vcf_R_functions.write_var_info_works_for_chromR_objects_E4
- write_vcf_R_functions.write_var_info_works_for_chromR_objects_E5