snps_intersections | R Documentation |
This function should provide counts of how many variant positions were observed with respect to each chromosome and with respect to each annotated sequence (currently this is limited to CDS, but that is negotiable).
snps_intersections(
expt,
snp_result,
start_column = "start",
end_column = "end",
chr_column = "seqnames"
)
expt |
The original expressionset. This provides the annotation data. |
snp_result |
The result from get_snp_sets or count_expt_snps. |
start_column |
Metadata column with the start position of each ORF. |
end_column |
Metadata column with the end position of each ORF. |
chr_column |
Column in the annotation with the chromosome names. |
List containing the set of intersections in the conditions contained in snp_result, the summary of numbers of variants per chromosome, and
[snps_vs_genes()] [GenomicRanges::makeGRangesFromDataFrame()] [IRanges::subsetByOverlaps()] [IRanges::countOverlaps()]
## Not run:
expt <- create_expt(metadata, gene_information)
snp_expt <- count_expt_snps(expt)
snp_result <- get_snp_sets(snp_expt)
intersections <- snps_vs_intersections(expt, snp_result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.