snps_vs_genes_padded | R Documentation |
A copy of the above function with padding for species without defined UTRs
snps_vs_genes_padded(
expt,
snp_result,
start_col = "start",
end_col = "end",
strand_col = "strand",
padding = 200,
normalize = TRUE,
snp_name_col = "seqnames",
expt_name_col = "chromosome",
observed_in = NULL,
ignore_strand = TRUE
)
expt |
The original expressionset. |
snp_result |
The result from get_snp_sets(). |
start_col |
Which column provides the start of each gene? |
end_col |
and the end column of each gene? |
strand_col |
Define strands. |
padding |
Add this amount to each CDS. |
normalize |
Normalize the returns to the length of the putative CDS. |
snp_name_col |
Name of the column in the metadata with the sequence names. |
expt_name_col |
Name of the metadata column with the chromosome names. |
observed_in |
Print some information about how many variants were observed. |
ignore_strand |
Ignore the strand information when returning? |
List with some information by gene.
[GenomicRanges::makeGRangesFromDataFrame()] [IRanges::subsetByOverlaps()] [IRanges::mergeByOverlaps()] [IRanges::countOverlaps()]
## Not run:
expt <- create_expt(metadata, gene_information)
snp_expt <- count_expt_snps(expt)
snp_result <- get_snp_sets(snp_expt)
gene_intersections <- snps_vs_genes(expt, snp_result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.