This function scans a file to locate the first line containing a specific keyword, such as 'probeset_id'. It is useful for identifying the starting point of data in files with headers or metadata.
find_header_line(summary_file, word = "probeset_id", max_lines = 6000)The line number where the keyword is found.
The path to the file to be scanned.
The keyword to search for in the first column. Default is "probeset_id".
The maximum number of lines to scan. Default is 6000.