View source: R/analysis-functions.R
CIS_grubbs_overtime | R Documentation |
Computes common insertion sites and Grubbs test for each separate group
and separating different time points among the same group. The logic
applied is the same as the function CIS_grubbs()
.
CIS_grubbs_overtime(
x,
genomic_annotation_file = "hg19",
grubbs_flanking_gene_bp = 1e+05,
threshold_alpha = 0.05,
group = "SubjectID",
timepoint_col = "TimePoint",
as_df = TRUE,
return_missing_as_df = TRUE,
max_workers = NULL
)
x |
An integration matrix, must include the |
genomic_annotation_file |
Database file for gene annotation, see details. |
grubbs_flanking_gene_bp |
Number of base pairs flanking a gene |
threshold_alpha |
Significance threshold |
group |
A character vector of column names that identifies a group. Each group must contain one or more time points. |
timepoint_col |
What is the name of the column containing time points? |
as_df |
Choose the result format: if |
return_missing_as_df |
Returns those genes present in the input df but not in the refgenes as a data frame? |
max_workers |
Maximum number of parallel workers. If |
A data frame containing
genes annotation for the specific genome.
From version 1.5.4
the argument genomic_annotation_file
accepts only
data frames or package provided defaults.
The user is responsible for importing the appropriate tabular files if
customization is needed.
The annotations for the human genome (hg19) and
murine genome (mm9) are already
included in this package: to use one of them just
set the argument genomic_annotation_file
to either "hg19"
or
"mm9"
.
If for any reason the user is performing an analysis on another genome,
this file needs to be changed respecting the USCS Genome Browser
format, meaning the input file headers should include:
name2, chrom, strand, min_txStart, max_txEnd, minmax_TxLen, average_TxLen, name, min_cdsStart, max_cdsEnd, minmax_CdsLen, average_CdsLen
A list with results and optionally missing genes info
data("integration_matrices", package = "ISAnalytics")
data("association_file", package = "ISAnalytics")
aggreg <- aggregate_values_by_key(
x = integration_matrices,
association_file = association_file,
value_cols = c("seqCount", "fragmentEstimate")
)
cis_overtime <- CIS_grubbs_overtime(aggreg)
cis_overtime
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.