set_all_counts: Set the all_counts attribute

Description Usage Arguments Value Examples

Description

Set the all_counts attribute

Usage

1
2
3
4
set_all_counts(pub) <- value

## S4 replacement method for signature 'PubScore'
set_all_counts(pub) <- value

Arguments

pub

Object of class PubScore

value

The table with all gene x term article counts from the "test_score" method.

Value

A dataframe containing the counts table for all genes.

Examples

1
2
3
4
5
terms_of_interest <- c('Dengue')
pub <- pubscore(terms_of_interest = terms_of_interest, genes = c("CD4", "CD8", "CD14") )
print(getScore(pub))
data("all_counts")
set_all_counts(pub) <- all_counts

csbl-usp/PubScore documentation built on March 13, 2021, 11:03 p.m.