join_targets.Rd
Add miRNA targets from an external xlsx-file to a data frame.
join_targets( df, excel_file, col.pmid.excel, col.target.excel, col.mir.excel = NULL, col.pmid.df = PMID, col.topic.df = NULL, filter_na = TRUE, stem_mir_excel = TRUE, reduce = FALSE )
df | Data frame containing PubMed-IDs that the miRNA targets shall be joined to. |
---|---|
excel_file | xlsx-file. xlsx-file containing miRNA targets and PubMed-IDs. |
col.pmid.excel | String. Column containing PubMed-IDs of the
|
col.target.excel | String. Column containing targets of the
|
col.mir.excel | String. Optional. Column containing miRNAs of the
|
col.pmid.df | Symbol. Column containing PubMed-IDs in |
col.topic.df | Symbol. Optional. Only important if |
filter_na | Boolean. If |
stem_mir_excel | Boolean. If |
reduce | Boolean. If |
Data frame containing miRNA targets.
Add miRNA targets from an external xlsx-file to a data frame. To add the targets to the
data frame, the xlsx-file and the data frame need to have one column in
common, such as PubMed-IDs.
join_targets()
can return two different data frames, regulated by reduce
:
If reduce = FALSE
, join_targets()
adds targets from an
excel-file to the data frame in a new column. These targets then correspond
to the targets determined in the research paper, but do not necessarily correspond
to the miRNA names mentioned in the abstract.
If reduce = TRUE
, join_targets()
adds targets from an
xlsx-file to the data frame in a new column. However, an
altered data frame is returned, containing the PubMed-IDs, targets, and
miRNAs from the excel-file. For reduce = TRUE
to work, the xlsx-file provided
must contain a column with miRNA names.
Other target functions:
count_target()
,
join_mirtarbase()
,
plot_target_count()
,
plot_target_mir_scatter()