find_common_hit: Find common hit

View source: R/find_common_hit.R

find_common_hitR Documentation

Find common hit

Description

This method find the hit in common between the three methods

Usage

find_common_hit(hit_zscore, hit_camera, hit_roast, common_in = 3)

Arguments

hit_zscore

The matrix obtained by the find_zscore_hit method

hit_camera

The matrix obtained by the find_camera_hit method

hit_roast

The matrix obtained by the find_roast_hit method

common_in

Number of methods in which the hit has to be in common in order to be considered a candidate hit. The default value is 3, which means that has to be present in the result of all the three methods.

Value

A vector containing the common hit

Examples

hit_zscore <- data.frame(Gene = c("A", "B", "C", "D", "E"))
hit_camera <- data.frame(Gene = c("A", "B", "C", "F", "H", "G"))
hit_roast <- data.frame(Gene = c("A", "L", "N"))

# common among all the three methods
find_common_hit(hit_zscore, hit_camera, hit_roast)

# common among at least two of the three methods
find_common_hit(hit_zscore, hit_camera, hit_roast, common_in = 2)

EmanuelSoda/ScreenR documentation built on Sept. 29, 2023, 12:33 a.m.